Diffstat (limited to 'noncore/apps/opie-reader/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/main.cpp b/noncore/apps/opie-reader/main.cpp index 3e1f5e7..af276da 100644 --- a/noncore/apps/opie-reader/main.cpp +++ b/noncore/apps/opie-reader/main.cpp | |||
@@ -1,25 +1,24 @@ | |||
1 | #include "useqpe.h" | ||
2 | #ifdef USEQPE | 1 | #ifdef USEQPE |
3 | #include <qpe/qpeapplication.h> | 2 | #include <qpe/qpeapplication.h> |
4 | #else | 3 | #else |
5 | #include <qapplication.h> | 4 | #include <qapplication.h> |
6 | #endif | 5 | #endif |
7 | #include "QTReaderApp.h" | 6 | #include "QTReaderApp.h" |
8 | 7 | ||
9 | #include "signal.h" | 8 | #include "signal.h" |
10 | #include "stdio.h" | 9 | #include "stdio.h" |
11 | #include "time.h" | 10 | #include "time.h" |
12 | 11 | ||
13 | 12 | ||
14 | #ifdef USEQPE | 13 | #ifdef USEQPE |
15 | QTReaderApp* app = NULL; | 14 | QTReaderApp* app = NULL; |
16 | 15 | ||
17 | void handler(int signum) | 16 | void handler(int signum) |
18 | { | 17 | { |
19 | if (app != NULL) | 18 | if (app != NULL) |
20 | { | 19 | { |
21 | app->suspend(); | 20 | app->suspend(); |
22 | app->saveprefs(); | 21 | app->saveprefs(); |
23 | } | 22 | } |
24 | signal(signum, handler); | 23 | signal(signum, handler); |
25 | } | 24 | } |