mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Use valid event type in QWidget::enterEvent()
This commit is contained in:
@@ -143,7 +143,11 @@ bool PiecesBar::event(QEvent *e)
|
||||
return base::event(e);
|
||||
}
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||
void PiecesBar::enterEvent(QEnterEvent *e)
|
||||
#else
|
||||
void PiecesBar::enterEvent(QEvent *e)
|
||||
#endif
|
||||
{
|
||||
m_hovered = true;
|
||||
base::enterEvent(e);
|
||||
|
||||
Reference in New Issue
Block a user