mirror of https://github.com/KLayout/klayout.git
WIP: enterEvent has a different signature in Qt6
This commit is contained in:
parent
e07b9dc609
commit
085db4f33f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue