From a5622a23c3083e1ff8a526713aed6a36aaf7a5bd Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 02 Oct 2003 19:50:57 +0000 Subject: Move the #ifdef so that the code actually compiles if the expression is not true --- (limited to 'library') 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 -- cgit v0.9.0.2