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)
|
void TearOff::enterEvent(QEvent * event)
|
||||||
|
#else
|
||||||
|
void TearOff::enterEvent(QEnterEvent * event)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
highlighted_ = true;
|
highlighted_ = true;
|
||||||
update();
|
update();
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
#if QT_VERSION < 0x060000
|
#if QT_VERSION < 0x060000
|
||||||
void enterEvent(QEvent *) override;
|
void enterEvent(QEvent *) override;
|
||||||
#else
|
#else
|
||||||
void enterEvent(QEvent *);
|
void enterEvent(QEnterEvent *) override;
|
||||||
#endif
|
#endif
|
||||||
void leaveEvent(QEvent *) override;
|
void leaveEvent(QEvent *) override;
|
||||||
void mouseReleaseEvent (QMouseEvent *) override;
|
void mouseReleaseEvent (QMouseEvent *) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user