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