author | mickeyl <mickeyl> | 2004-09-12 13:56:12 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-09-12 13:56:12 (UTC) |
commit | 16f05a60665f1ba6aa61ac1032f3153578e5aaaf (patch) (unidiff) | |
tree | de8d6c077b660485162f8989657ca49a9e4ca4ed /core/apps/calibrate/main.cpp | |
parent | 0c7a238e2116daa67c84e389d53fc64f8c2d78b3 (diff) | |
download | opie-16f05a60665f1ba6aa61ac1032f3153578e5aaaf.zip opie-16f05a60665f1ba6aa61ac1032f3153578e5aaaf.tar.gz opie-16f05a60665f1ba6aa61ac1032f3153578e5aaaf.tar.bz2 |
show backdrop, make crosshair a bit more prominent, enable calibration test when QT_DEBUG is set
Diffstat (limited to 'core/apps/calibrate/main.cpp') (more/less context) (ignore whitespace changes)
-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 | |||
@@ -22,25 +22,25 @@ | |||
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | 24 | ||
25 | #ifdef QWS | 25 | #ifdef QWS |
26 | #include <qwindowsystem_qws.h> | 26 | #include <qwindowsystem_qws.h> |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | int main( int argc, char ** argv ) | 29 | int main( int argc, char ** argv ) |
30 | { | 30 | { |
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 |
38 | // Make sure calibration widget starts on top. | 38 | // Make sure calibration widget starts on top. |
39 | Calibrate cal; | 39 | Calibrate cal; |
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 | } |