mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix an overloaded-virtual warning for type mismatch of event parameter (Qt6)
This commit is contained in:
parent
80a901506b
commit
4665baac46
@ -54,7 +54,11 @@ void TearOff::mouseReleaseEvent(QMouseEvent * /*event*/)
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION < 0x060000
|
||||
void TearOff::enterEvent(QEvent * event)
|
||||
#else
|
||||
void TearOff::enterEvent(QEnterEvent * event)
|
||||
#endif
|
||||
{
|
||||
highlighted_ = true;
|
||||
update();
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
#if QT_VERSION < 0x060000
|
||||
void enterEvent(QEvent *) override;
|
||||
#else
|
||||
void enterEvent(QEvent *);
|
||||
void enterEvent(QEnterEvent *) override;
|
||||
#endif
|
||||
void leaveEvent(QEvent *) override;
|
||||
void mouseReleaseEvent (QMouseEvent *) override;
|
||||
|
Loading…
Reference in New Issue
Block a user