Home
Phabricator
Search
Log In
Paste
P345
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Mar 17 2019, 6:15 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
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;
}
dkazakov
edited the content of this paste.
(Show Details)
Mar 17 2019, 6:15 PM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment