diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index e886f5d..b23a72c 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -16,6 +16,7 @@ #include <tqdir.h> #include <tqregexp.h> #include <tqbitmap.h> +#include <tqeventloop.h> #include <kiconloader.h> #include <kapplication.h> @@ -395,6 +396,14 @@ void createTQApp() free(argv[0]); free(argv); + + // Propagate glib events to GTK as needed + if (tqApp) { + TQEventLoop* loop = tqApp->eventLoop(); + if (loop) { + loop->setSingleToolkitEventHandling(false); + } + } if (!gtkQtEnable) return; |