author | eilers <eilers> | 2004-03-31 14:41:46 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-03-31 14:41:46 (UTC) |
commit | 4f6dbea16af4c6edb7cdc619be4cacf672f8aee8 (patch) (unidiff) | |
tree | b6fc88cdf59f8c29655464fc9c7f2590524447b0 /core | |
parent | 38e313e5b9d2339580614264a428a84f70f4f4c0 (diff) | |
download | opie-4f6dbea16af4c6edb7cdc619be4cacf672f8aee8.zip opie-4f6dbea16af4c6edb7cdc619be4cacf672f8aee8.tar.gz opie-4f6dbea16af4c6edb7cdc619be4cacf672f8aee8.tar.bz2 |
Fixed namespace for OWait to be able to compile it.. But I don't understand, why we need it.. !?
-rw-r--r-- | core/tools/quicklauncher/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tools/quicklauncher/main.cpp b/core/tools/quicklauncher/main.cpp index f3055cc..d467d6e 100644 --- a/core/tools/quicklauncher/main.cpp +++ b/core/tools/quicklauncher/main.cpp | |||
@@ -218,25 +218,25 @@ int main( int argc, char** argv ) | |||
218 | // Each of the following force internal structures/internal | 218 | // Each of the following force internal structures/internal |
219 | // initialization to be performed. This may mean allocating | 219 | // initialization to be performed. This may mean allocating |
220 | // memory that is not needed by all applications. | 220 | // memory that is not needed by all applications. |
221 | #if 0 | 221 | #if 0 |
222 | TimeZone::current().isValid(); // popuplate timezone cache | 222 | TimeZone::current().isValid(); // popuplate timezone cache |
223 | TimeString::currentDateFormat(); // create internal structures | 223 | TimeString::currentDateFormat(); // create internal structures |
224 | TimeString::currentAMPM(); | 224 | TimeString::currentAMPM(); |
225 | #endif | 225 | #endif |
226 | Resource::loadIconSet("new"); // do internal init | 226 | Resource::loadIconSet("new"); // do internal init |
227 | 227 | ||
228 | /* make sure libopie gets lined in */ | 228 | /* make sure libopie gets lined in */ |
229 | { | 229 | { |
230 | OWait item; | 230 | Opie::Ui::OWait item; |
231 | } | 231 | } |
232 | 232 | ||
233 | // Create a widget to force initialization of title bar images, etc. | 233 | // Create a widget to force initialization of title bar images, etc. |
234 | QObject::disconnect(app, SIGNAL(lastWindowClosed()), app, SLOT(hideOrQuit())); | 234 | QObject::disconnect(app, SIGNAL(lastWindowClosed()), app, SLOT(hideOrQuit())); |
235 | QWidget *w = new QWidget(0,0,Qt::WDestructiveClose|Qt::WStyle_ContextHelp|Qt::WStyle_Tool); | 235 | QWidget *w = new QWidget(0,0,Qt::WDestructiveClose|Qt::WStyle_ContextHelp|Qt::WStyle_Tool); |
236 | w->setGeometry( -100, -100, 10, 10 ); | 236 | w->setGeometry( -100, -100, 10, 10 ); |
237 | w->show(); | 237 | w->show(); |
238 | QTimer::singleShot( 0, w, SLOT(close()) ); | 238 | QTimer::singleShot( 0, w, SLOT(close()) ); |
239 | 239 | ||
240 | app->enter_loop(); | 240 | app->enter_loop(); |
241 | } | 241 | } |
242 | 242 | ||