mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
WIP: enterEvent has a different signature in Qt6
This commit is contained in:
@@ -684,7 +684,11 @@ END_PROTECTED
|
||||
}
|
||||
|
||||
void
|
||||
#if QT_VERSION >= 0x60000
|
||||
ViewObjectWidget::enterEvent (QEnterEvent * /*event*/)
|
||||
#else
|
||||
ViewObjectWidget::enterEvent (QEvent * /*event*/)
|
||||
#endif
|
||||
{
|
||||
BEGIN_PROTECTED
|
||||
m_mouse_inside = true;
|
||||
|
||||
@@ -1029,7 +1029,11 @@ protected:
|
||||
/**
|
||||
* @brief Qt mouse enter event handler
|
||||
*/
|
||||
#if QT_VERSION >= 0x60000
|
||||
void enterEvent (QEnterEvent *e);
|
||||
#else
|
||||
void enterEvent (QEvent *e);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Qt mouse button press event handler
|
||||
|
||||
Reference in New Issue
Block a user