-rw-r--r-- | core/launcher/startmenu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/startmenu.cpp b/core/launcher/startmenu.cpp index 28c8b97..d75e8be 100644 --- a/core/launcher/startmenu.cpp +++ b/core/launcher/startmenu.cpp | |||
@@ -31,32 +31,33 @@ | |||
31 | #include <qpe/global.h> | 31 | #include <qpe/global.h> |
32 | #include <qpe/resource.h> | 32 | #include <qpe/resource.h> |
33 | #include <qpe/qlibrary.h> | 33 | #include <qpe/qlibrary.h> |
34 | 34 | ||
35 | #include <qintdict.h> | 35 | #include <qintdict.h> |
36 | #include <qdir.h> | 36 | #include <qdir.h> |
37 | 37 | ||
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | 39 | ||
40 | 40 | ||
41 | // #define USE_CONFIG_FILE | 41 | // #define USE_CONFIG_FILE |
42 | 42 | ||
43 | 43 | ||
44 | StartMenu::StartMenu(QWidget *parent) : QLabel( parent ) | 44 | StartMenu::StartMenu(QWidget *parent) : QLabel( parent ) |
45 | { | 45 | { |
46 | loadOptions(); | 46 | loadOptions(); |
47 | safety_tid = 1; // disable the timer... valgrind said it.. we don't use that option either -zecke | ||
47 | 48 | ||
48 | int sz = AppLnk::smallIconSize()+3; | 49 | int sz = AppLnk::smallIconSize()+3; |
49 | QPixmap pm; | 50 | QPixmap pm; |
50 | pm.convertFromImage(Resource::loadImage(startButtonPixmap).smoothScale(sz,sz)); | 51 | pm.convertFromImage(Resource::loadImage(startButtonPixmap).smoothScale(sz,sz)); |
51 | setPixmap(pm); | 52 | setPixmap(pm); |
52 | setFocusPolicy( NoFocus ); | 53 | setFocusPolicy( NoFocus ); |
53 | //setFlat( startButtonIsFlat ); | 54 | //setFlat( startButtonIsFlat ); |
54 | 55 | ||
55 | apps = 0; | 56 | apps = 0; |
56 | launchMenu = 0; | 57 | launchMenu = 0; |
57 | applets. setAutoDelete ( true ); | 58 | applets. setAutoDelete ( true ); |
58 | sepId = 0; | 59 | sepId = 0; |
59 | 60 | ||
60 | reloadApps ( ); | 61 | reloadApps ( ); |
61 | reloadApplets ( ); | 62 | reloadApplets ( ); |
62 | } | 63 | } |