aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/SettingsMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/SettingsMenu.cpp')
-rw-r--r--lumina-desktop/SettingsMenu.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/lumina-desktop/SettingsMenu.cpp b/lumina-desktop/SettingsMenu.cpp
index 9d369410..0e59d77b 100644
--- a/lumina-desktop/SettingsMenu.cpp
+++ b/lumina-desktop/SettingsMenu.cpp
@@ -10,6 +10,14 @@
#include <LuminaOS.h>
SettingsMenu::SettingsMenu() : QMenu(){
+ QTimer::singleShot(10, this, SLOT(InitMenu()) );
+}
+
+SettingsMenu::~SettingsMenu(){
+
+}
+
+void SettingsMenu::InitMenu(){
this->setTitle( tr("Desktop Settings") );
this->setIcon( LXDG::findIcon("configure","") );
connect(this, SIGNAL(triggered(QAction*)), this, SLOT(runApp(QAction*)) );
@@ -36,11 +44,7 @@ SettingsMenu::SettingsMenu() : QMenu(){
act->setWhatsThis("lumina-open \""+CONTROLPANEL+"\"");
this->addAction(act);
}
- }
-}
-
-SettingsMenu::~SettingsMenu(){
-
+ }
}
void SettingsMenu::runApp(QAction* act){
bgstack15