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 | |||
@@ -1,46 +1,46 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "calibrate.h" | 21 | #include "calibrate.h" |
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 | } |