summaryrefslogtreecommitdiff
authorschurig <schurig>2003-07-09 09:45:45 (UTC)
committer schurig <schurig>2003-07-09 09:45:45 (UTC)
commitaa36a8c83f54c3380a512281e8821ed930854b4d (patch) (side-by-side diff)
tree5a0f05181e33d1090c64793adbc1299ee33d7717
parent4cc87752584c08d1267cc389142777db5faba302 (diff)
downloadopie-aa36a8c83f54c3380a512281e8821ed930854b4d.zip
opie-aa36a8c83f54c3380a512281e8821ed930854b4d.tar.gz
opie-aa36a8c83f54c3380a512281e8821ed930854b4d.tar.bz2
forward port from branch
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/startmenu.cpp1
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
@@ -23,48 +23,49 @@
#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();
}