summaryrefslogtreecommitdiff
authorzecke <zecke>2003-10-02 19:50:57 (UTC)
committer zecke <zecke>2003-10-02 19:50:57 (UTC)
commita5622a23c3083e1ff8a526713aed6a36aaf7a5bd (patch) (side-by-side diff)
treea11dd920c777ebceee2026e573d4e0111875174c
parentb262f4cbe41c144c472f17996a8739952464e00c (diff)
downloadopie-a5622a23c3083e1ff8a526713aed6a36aaf7a5bd.zip
opie-a5622a23c3083e1ff8a526713aed6a36aaf7a5bd.tar.gz
opie-a5622a23c3083e1ff8a526713aed6a36aaf7a5bd.tar.bz2
Move the #ifdef so that the code actually compiles if the expression
is not true
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 98af70a..0e469ae 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -147,11 +147,12 @@ public:
return;
QCopRec * r;
-#ifndef QT_NO_COP
+
while((r=qcopq.dequeue())) {
// remove from queue before sending...
// event loop can come around again before getting
// back from sendLocally
+#ifndef QT_NO_COP
QCopChannel::sendLocally( r->channel, r->message, r->data );
#endif