-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 | |||
@@ -31,7 +31,7 @@ int main( int argc, char ** argv ) | |||
31 | QPEApplication a( argc, argv ); | 31 | QPEApplication a( argc, argv ); |
32 | int retval = 0; | 32 | int retval = 0; |
33 | 33 | ||
34 | #ifdef QWS | 34 | #if !defined(QT_DEBUG) && defined(QWS) |
35 | if ( QWSServer::mouseHandler() && | 35 | if ( QWSServer::mouseHandler() && |
36 | QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { | 36 | QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { |
37 | #endif | 37 | #endif |
@@ -40,7 +40,7 @@ int main( int argc, char ** argv ) | |||
40 | a.setMainWidget(&cal); | 40 | a.setMainWidget(&cal); |
41 | a.showMainWidget(&cal); | 41 | a.showMainWidget(&cal); |
42 | return a.exec(); | 42 | return a.exec(); |
43 | #ifdef QWS | 43 | #if !defined(QT_DEBUG) && defined(QWS) |
44 | } | 44 | } |
45 | #endif | 45 | #endif |
46 | } | 46 | } |