summaryrefslogtreecommitdiff
path: root/core/tools/quicklauncher/main.cpp
Unidiff
Diffstat (limited to 'core/tools/quicklauncher/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/tools/quicklauncher/main.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/tools/quicklauncher/main.cpp b/core/tools/quicklauncher/main.cpp
index e509908..7d368ab 100644
--- a/core/tools/quicklauncher/main.cpp
+++ b/core/tools/quicklauncher/main.cpp
@@ -25,8 +25,5 @@
25#include <qcopchannel_qws.h> 25#include <qcopchannel_qws.h>
26#define QTOPIA_INTERNAL_INITAPP 26#define QTOPIA_INTERNAL_INITAPP
27#include <qtopia/timezone.h>
28#include <qtopia/qpeapplication.h> 27#include <qtopia/qpeapplication.h>
29#include <qtopia/resource.h>
30#include <qtopia/pluginloader.h>
31#include <stdio.h> 28#include <stdio.h>
32#include <stdlib.h> 29#include <stdlib.h>
@@ -35,4 +32,6 @@
35#include <unistd.h> 32#include <unistd.h>
36 33
34#include "dropins.h"
35
37static QPEApplication *app = 0; 36static QPEApplication *app = 0;
38static PluginLoader *loader = 0; 37static PluginLoader *loader = 0;
@@ -211,9 +210,16 @@ int main( int argc, char** argv )
211 // initialization to be performed. This may mean allocating 210 // initialization to be performed. This may mean allocating
212 // memory that is not needed by all applications. 211 // memory that is not needed by all applications.
212#if 0
213 TimeZone::current().isValid(); // popuplate timezone cache 213 TimeZone::current().isValid(); // popuplate timezone cache
214 TimeString::currentDateFormat(); // create internal structures 214 TimeString::currentDateFormat(); // create internal structures
215 TimeString::currentAMPM(); 215 TimeString::currentAMPM();
216#endif
216 Resource::loadIconSet("new"); // do internal init 217 Resource::loadIconSet("new"); // do internal init
217 218
219 /* make sure libopie gets lined in */
220 {
221 OWait item;
222 }
223
218 // Create a widget to force initialization of title bar images, etc. 224 // Create a widget to force initialization of title bar images, etc.
219 QObject::disconnect(app, SIGNAL(lastWindowClosed()), app, SLOT(hideOrQuit())); 225 QObject::disconnect(app, SIGNAL(lastWindowClosed()), app, SLOT(hideOrQuit()));