diff --git a/libs/ui/input/kis_input_manager.cpp b/libs/ui/input/kis_input_manager.cpp
index d173543..ddf76ba 100644
--- a/libs/ui/input/kis_input_manager.cpp
+++ b/libs/ui/input/kis_input_manager.cpp
@@ -497,11 +497,9 @@ bool KisInputManager::eventFilterImpl(QEvent * event)
d->resetCompressor();
d->eatOneMousePress();
-#if defined Q_OS_LINUX && !defined QT_HAS_ENTER_LEAVE_PATCH
// remove this hack when this patch is integrated:
// https://codereview.qt-project.org/#/c/255384/
event->setAccepted(false);
-#endif
break;
}
@@ -524,11 +522,9 @@ bool KisInputManager::eventFilterImpl(QEvent * event)
*/
d->blockMouseEvents();
-#if defined Q_OS_LINUX && !defined QT_HAS_ENTER_LEAVE_PATCH
// remove this hack when this patch is integrated:
// https://codereview.qt-project.org/#/c/255384/
event->setAccepted(false);
-#endif
break;
}
@@ -543,11 +539,9 @@ bool KisInputManager::eventFilterImpl(QEvent * event)
retval = true;
event->setAccepted(true);
-#if defined Q_OS_LINUX && !defined QT_HAS_ENTER_LEAVE_PATCH
// remove this hack when this patch is integrated:
// https://codereview.qt-project.org/#/c/255384/
event->setAccepted(false);
-#endif
break;
}