Diffstat (limited to 'noncore/settings/aqpkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/main.cpp b/noncore/settings/aqpkg/main.cpp index 1f8cf42..53c392e 100644 --- a/noncore/settings/aqpkg/main.cpp +++ b/noncore/settings/aqpkg/main.cpp | |||
@@ -29,37 +29,37 @@ using namespace std; | |||
29 | 29 | ||
30 | #include "mainwin.h" | 30 | #include "mainwin.h" |
31 | #include "server.h" | 31 | #include "server.h" |
32 | 32 | ||
33 | #include "global.h" | 33 | #include "global.h" |
34 | 34 | ||
35 | 35 | ||
36 | int main(int argc, char *argv[]) | 36 | int main(int argc, char *argv[]) |
37 | { | 37 | { |
38 | cout << "Root dir = " << ROOT << endl; | 38 | cout << "Root dir = " << ROOT << endl; |
39 | #ifdef QWS | 39 | #ifdef QWS |
40 | QPEApplication a( argc, argv ); | 40 | QPEApplication a( argc, argv ); |
41 | #else | 41 | #else |
42 | QApplication a( argc, argv ); | 42 | QApplication a( argc, argv ); |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #ifdef QWS | 45 | #ifdef QWS |
46 | // Disable suspend mode | 46 | // Disable suspend mode |
47 | cout << "Disabling suspend mode" << endl; | 47 | cout << "Disabling suspend mode" << endl; |
48 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::DisableSuspend; | 48 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::DisableSuspend; |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | MainWindow *win = new MainWindow(); | 51 | MainWindow *win = new MainWindow(); |
52 | a.setMainWidget(win); | 52 | a.setMainWidget(win); |
53 | win->show(); | 53 | win->showMaximized(); |
54 | 54 | ||
55 | a.exec(); | 55 | a.exec(); |
56 | 56 | ||
57 | #ifdef QWS | 57 | #ifdef QWS |
58 | // Reenable suspend mode | 58 | // Reenable suspend mode |
59 | cout << "Enabling suspend mode" << endl; | 59 | cout << "Enabling suspend mode" << endl; |
60 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Enable; | 60 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Enable; |
61 | #endif | 61 | #endif |
62 | #ifdef _DEBUG | 62 | #ifdef _DEBUG |
63 | DumpUnfreed(); | 63 | DumpUnfreed(); |
64 | #endif | 64 | #endif |
65 | } | 65 | } |