diff options
author | Ken Moore <moorekou@gmail.com> | 2014-10-08 09:16:10 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2014-10-08 09:16:10 -0400 |
commit | 4897f2a844a9901e6278665f83716b3974a5078b (patch) | |
tree | efb98920ebd16cfa9342dd392601a25fa9f12916 /lumina-desktop/AppMenu.cpp | |
parent | Merge pull request #15 from Nanolx/master (diff) | |
parent | make file-manager user-chooseable (diff) | |
download | lumina-4897f2a844a9901e6278665f83716b3974a5078b.tar.gz lumina-4897f2a844a9901e6278665f83716b3974a5078b.tar.bz2 lumina-4897f2a844a9901e6278665f83716b3974a5078b.zip |
Merge pull request #16 from Nanolx/side-work
make file-manager user-chooseable
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){ |