Update QWidget::enterEvent() override

References:
- https://doc.qt.io/qt-6/qwidget.html#enterEvent
This commit is contained in:
zneix 2021-07-31 00:31:15 +02:00
parent 0933d68111
commit d010a7d48b
No known key found for this signature in database
GPG key ID: 911916E0523B22F6
2 changed files with 2 additions and 2 deletions

View file

@ -1232,7 +1232,7 @@ void ChannelView::wheelEvent(QWheelEvent *event)
}
}
void ChannelView::enterEvent(QEvent *)
void ChannelView::enterEvent(QEnterEvent *)
{
}

View file

@ -115,7 +115,7 @@ protected:
void paintEvent(QPaintEvent *) override;
void wheelEvent(QWheelEvent *event) override;
void enterEvent(QEvent *) override;
void enterEvent(QEnterEvent *) override;
void leaveEvent(QEvent *) override;
void mouseMoveEvent(QMouseEvent *event) override;