-rw-r--r-- | core/apps/calibrate/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/calibrate/main.cpp b/core/apps/calibrate/main.cpp index 0da0fe0..d9d98f5 100644 --- a/core/apps/calibrate/main.cpp +++ b/core/apps/calibrate/main.cpp @@ -32,5 +32,5 @@ int main( int argc, char ** argv ) int retval = 0; -#ifdef QWS +#if !defined(QT_DEBUG) && defined(QWS) if ( QWSServer::mouseHandler() && QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { @@ -41,5 +41,5 @@ int main( int argc, char ** argv ) a.showMainWidget(&cal); return a.exec(); -#ifdef QWS +#if !defined(QT_DEBUG) && defined(QWS) } #endif |