-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 @@ -30,17 +30,17 @@ int main( int argc, char ** argv ) { QPEApplication a( argc, argv ); int retval = 0; -#ifdef QWS +#if !defined(QT_DEBUG) && defined(QWS) if ( QWSServer::mouseHandler() && QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { #endif // Make sure calibration widget starts on top. Calibrate cal; a.setMainWidget(&cal); a.showMainWidget(&cal); return a.exec(); -#ifdef QWS +#if !defined(QT_DEBUG) && defined(QWS) } #endif } |