diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-10-23 17:50:00 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-10-23 17:50:00 -0400 |
commit | 08d871eeab89f38dcd1717cd6a29dfbbcc6b79b7 (patch) | |
tree | 145ec1c6ae7c5fee8436f351f9cf4dcbbdfde764 /src-qt5/core/lumina-open/LFileDialog.cpp | |
parent | Added preliminary code to disable video thumbnails with settings (diff) | |
download | lumina-08d871eeab89f38dcd1717cd6a29dfbbcc6b79b7.tar.gz lumina-08d871eeab89f38dcd1717cd6a29dfbbcc6b79b7.tar.bz2 lumina-08d871eeab89f38dcd1717cd6a29dfbbcc6b79b7.zip |
Fixed issue with setting defaults in lumina-open and cleaned up main.cpp
Diffstat (limited to 'src-qt5/core/lumina-open/LFileDialog.cpp')
-rw-r--r-- | src-qt5/core/lumina-open/LFileDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-open/LFileDialog.cpp b/src-qt5/core/lumina-open/LFileDialog.cpp index ce7c6a6f..dbdb6362 100644 --- a/src-qt5/core/lumina-open/LFileDialog.cpp +++ b/src-qt5/core/lumina-open/LFileDialog.cpp @@ -54,9 +54,9 @@ QString LFileDialog::getDefaultApp(QString extension){ void LFileDialog::setDefaultApp(QString extension, QString appFile){ if(!extension.contains("/")){ extension = LXDG::findAppMimeForFile(appFile); } - //mime type default: set on the system itself - if(appFile.endsWith(".desktop")){ appFile = appFile.section("/",-1); } //only need the relative path - LXDG::setDefaultAppForMime(extension, appFile); + //mime type default: set on the system itself + //if(appFile.endsWith(".desktop")){ appFile = appFile.section("/",-1); } //only need the relative path + LXDG::setDefaultAppForMime(extension, appFile); } // ----------- |