-rw-r--r-- | core/launcher/wait.cpp | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp index 059e6f1..e1832dd 100644 --- a/core/launcher/wait.cpp +++ b/core/launcher/wait.cpp | |||
@@ -21,6 +21,7 @@ | |||
21 | #include "wait.h" | 21 | #include "wait.h" |
22 | 22 | ||
23 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
24 | #include <qpe/config.h> | ||
24 | 25 | ||
25 | #include <qwidget.h> | 26 | #include <qwidget.h> |
26 | #include <qpixmap.h> | 27 | #include <qpixmap.h> |
@@ -35,6 +36,8 @@ Wait::Wait( QWidget *parent ) : QWidget( parent ), | |||
35 | { | 36 | { |
36 | setFixedSize( pm.size() ); | 37 | setFixedSize( pm.size() ); |
37 | lastWaitObject = this; | 38 | lastWaitObject = this; |
39 | centralWait = new WaitPopup( 0L ); | ||
40 | centralWait->hide(); | ||
38 | hide(); | 41 | hide(); |
39 | } | 42 | } |
40 | 43 | ||
@@ -47,11 +50,21 @@ Wait *Wait::getWaitObject() | |||
47 | 50 | ||
48 | void Wait::setWaiting( bool w ) | 51 | void Wait::setWaiting( bool w ) |
49 | { | 52 | { |
53 | Config cfg ( "Launcher" ); | ||
54 | cfg. setGroup ( "GUI" ); | ||
55 | |||
56 | |||
50 | waiting = w; | 57 | waiting = w; |
51 | if ( w ) | 58 | if ( w ) { |
52 | show(); | 59 | if ( cfg. readBoolEntry ( "BigBusy" ) ) { |
53 | else | 60 | centralWait->show(); |
54 | hide(); | 61 | } else { |
62 | show(); | ||
63 | } | ||
64 | } else { | ||
65 | centralWait->hide(); | ||
66 | hide(); | ||
67 | } | ||
55 | } | 68 | } |
56 | 69 | ||
57 | 70 | ||