summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_p.h
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-05-19 09:15:21 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-05-19 09:15:21 (GMT)
commit8ace0f0b97a4b321037e034b35b6342cf0e779cf (patch)
tree5c48f9edb69e5a317350c784b3eb6f887ec9af14 /src/gui/kernel/qapplication_p.h
parent3cd3206cdaf4b1cf0ccf50b2d0a7d67a68be582e (diff)
downloadQt-8ace0f0b97a4b321037e034b35b6342cf0e779cf.zip
Qt-8ace0f0b97a4b321037e034b35b6342cf0e779cf.tar.gz
Qt-8ace0f0b97a4b321037e034b35b6342cf0e779cf.tar.bz2
fix event dispatcher sleep problem on Android
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r--src/gui/kernel/qapplication_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h
index 7202ae5..7ad8ca5 100644
--- a/src/gui/kernel/qapplication_p.h
+++ b/src/gui/kernel/qapplication_p.h
@@ -322,6 +322,9 @@ public:
#if defined(Q_WS_LITE)
static QPlatformIntegration *platformIntegration()
{ return platform_integration; }
+
+ static QAbstractEventDispatcher *qt_lite_core_dispatcher()
+ { return QCoreApplication::instance()->d_func()->threadData->eventDispatcher; }
#endif
void createEventDispatcher();