Diffstat (limited to 'core/tools/quicklauncher/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/tools/quicklauncher/main.cpp | 12 |
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 | |||
@@ -24,16 +24,15 @@ | |||
24 | #include <qguardedptr.h> | 24 | #include <qguardedptr.h> |
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> |
33 | #include <sys/types.h> | 30 | #include <sys/types.h> |
34 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
35 | #include <unistd.h> | 32 | #include <unistd.h> |
36 | 33 | ||
34 | #include "dropins.h" | ||
35 | |||
37 | static QPEApplication *app = 0; | 36 | static QPEApplication *app = 0; |
38 | static PluginLoader *loader = 0; | 37 | static PluginLoader *loader = 0; |
39 | static ApplicationInterface *appIface = 0; | 38 | static ApplicationInterface *appIface = 0; |
@@ -210,11 +209,18 @@ int main( int argc, char** argv ) | |||
210 | // Each of the following force internal structures/internal | 209 | // Each of the following force internal structures/internal |
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())); |
220 | QWidget *w = new QWidget(0,0,Qt::WDestructiveClose|Qt::WStyle_ContextHelp|Qt::WStyle_Tool); | 226 | QWidget *w = new QWidget(0,0,Qt::WDestructiveClose|Qt::WStyle_ContextHelp|Qt::WStyle_Tool); |