author | zecke <zecke> | 2003-10-02 19:50:57 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-10-02 19:50:57 (UTC) |
commit | a5622a23c3083e1ff8a526713aed6a36aaf7a5bd (patch) (unidiff) | |
tree | a11dd920c777ebceee2026e573d4e0111875174c | |
parent | b262f4cbe41c144c472f17996a8739952464e00c (diff) | |
download | opie-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
-rw-r--r-- | library/qpeapplication.cpp | 3 |
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: | |||
147 | return; | 147 | return; |
148 | 148 | ||
149 | QCopRec * r; | 149 | QCopRec * r; |
150 | #ifndef QT_NO_COP | 150 | |
151 | while((r=qcopq.dequeue())) { | 151 | while((r=qcopq.dequeue())) { |
152 | // remove from queue before sending... | 152 | // remove from queue before sending... |
153 | // event loop can come around again before getting | 153 | // event loop can come around again before getting |
154 | // back from sendLocally | 154 | // back from sendLocally |
155 | #ifndef QT_NO_COP | ||
155 | QCopChannel::sendLocally( r->channel, r->message, r->data ); | 156 | QCopChannel::sendLocally( r->channel, r->message, r->data ); |
156 | #endif | 157 | #endif |
157 | 158 | ||