author | schurig <schurig> | 2003-07-09 09:45:45 (UTC) |
---|---|---|
committer | schurig <schurig> | 2003-07-09 09:45:45 (UTC) |
commit | aa36a8c83f54c3380a512281e8821ed930854b4d (patch) (side-by-side diff) | |
tree | 5a0f05181e33d1090c64793adbc1299ee33d7717 | |
parent | 4cc87752584c08d1267cc389142777db5faba302 (diff) | |
download | opie-aa36a8c83f54c3380a512281e8821ed930854b4d.zip opie-aa36a8c83f54c3380a512281e8821ed930854b4d.tar.gz opie-aa36a8c83f54c3380a512281e8821ed930854b4d.tar.bz2 |
forward port from branch
-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 @@ -15,64 +15,65 @@ ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #define INCLUDE_MENUITEM_DEF #include "startmenu.h" #include "sidething.h" //#include "mrulist.h" #include "info.h" #include <qpe/qpeapplication.h> #include <qpe/config.h> #include <qpe/applnk.h> #include <qpe/global.h> #include <qpe/resource.h> #include <qpe/qlibrary.h> #include <qintdict.h> #include <qdir.h> #include <stdlib.h> // #define USE_CONFIG_FILE StartMenu::StartMenu(QWidget *parent) : QLabel( parent ) { loadOptions(); + safety_tid = 1; // disable the timer... valgrind said it.. we don't use that option either -zecke int sz = AppLnk::smallIconSize()+3; QPixmap pm; pm.convertFromImage(Resource::loadImage(startButtonPixmap).smoothScale(sz,sz)); setPixmap(pm); setFocusPolicy( NoFocus ); //setFlat( startButtonIsFlat ); apps = 0; launchMenu = 0; applets. setAutoDelete ( true ); sepId = 0; reloadApps ( ); reloadApplets ( ); } void StartMenu::mousePressEvent( QMouseEvent * ) { launch(); if (desktopInfo) desktopInfo->menuClicked(); } StartMenu::~StartMenu() { delete apps; } |