diff options
Diffstat (limited to 'lumina-desktop/AppMenu.cpp')
-rw-r--r-- | lumina-desktop/AppMenu.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/AppMenu.cpp b/lumina-desktop/AppMenu.cpp index 496d0932..2b14edec 100644 --- a/lumina-desktop/AppMenu.cpp +++ b/lumina-desktop/AppMenu.cpp @@ -6,6 +6,7 @@ //=========================================== #include "AppMenu.h" #include "LSession.h" +#include "LDesktop.h" #include <LuminaOS.h> AppMenu::AppMenu(QWidget* parent) : QMenu(parent){ @@ -111,8 +112,9 @@ void AppMenu::launchControlPanel(){ } void AppMenu::launchFileManager(){ - LSession::LaunchApplication("lumina-fm"); - //QProcess::startDetached("lumina-fm"); + QSettings::setPath(QSettings::NativeFormat, QSettings::UserScope, QDir::homePath()+"/.lumina"); + QString fm = QSettings("LuminaDE", "desktopsettings").value("default-filemanager","lumina-fm").toString(); + LSession::LaunchApplication(fm); } void AppMenu::launchApp(QAction *act){ |