aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-10-09 19:01:31 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-10-09 19:01:31 -0400
commit20373eb1665303d77c17d4b268b95e7a4b6ab440 (patch)
tree9dcc097e24ddad27bacc3650aa8f172130ab2d09 /src-qt5/core-utils/lumina-config
parentClean up how the backend of the file manager handles atomic updates to change... (diff)
downloadlumina-20373eb1665303d77c17d4b268b95e7a4b6ab440.tar.gz
lumina-20373eb1665303d77c17d4b268b95e7a4b6ab440.tar.bz2
lumina-20373eb1665303d77c17d4b268b95e7a4b6ab440.zip
Read the default app desktop files from full path to fix settings persistance bug
Diffstat (limited to 'src-qt5/core-utils/lumina-config')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp b/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp
index c2d689ec..df7ae516 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp
@@ -245,7 +245,7 @@ void page_defaultapps::setdefaultitem(){
//Now set the items
for(int i=0; i<list.length(); i++){
//Set it in the back end
- LXDG::setDefaultAppForMime(list[i]->whatsThis(0), app.section("/",-1));
+ LXDG::setDefaultAppForMime(list[i]->whatsThis(0), app);
//Set it in the UI
XDGDesktop desk(app);
list[i]->setWhatsThis(1,app); //app path
bgstack15