summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 86aa53d..4d0b0ea 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -99,5 +99,5 @@ public:
: presstimer( 0 ), presswidget( 0 ), rightpressed( false ), kbgrabbed( false ),
notbusysent( false ), preloaded( false ), forceshow( false ), nomaximize( false ),
- keep_running( true ), qpe_main_widget( 0 )
+ keep_running( true ), qpe_main_widget( 0 ), qcopQok( false )
{
@@ -115,6 +115,8 @@ public:
bool forceshow : 1;
bool nomaximize : 1;
+ bool qcopQok : 1;
bool keep_running : 1;
+
QStringList langs;
QString appName;
@@ -143,4 +145,7 @@ public:
void sendQCopQ()
{
+ if (!qcopQok )
+ return;
+
QCopRec * r;
#ifndef QT_NO_COP
@@ -1894,4 +1899,5 @@ void QPEApplication::grabKeyboard()
int QPEApplication::exec()
{
+ d->qcopQok = true;
#ifndef QT_NO_COP
d->sendQCopQ();