aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LDesktop.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-08 16:41:31 -0400
committerKen Moore <moorekou@gmail.com>2016-06-08 16:41:31 -0400
commit911ef5bfce34ebcd8bc3fc6507108dc384d52de2 (patch)
tree6e6979a4626fb34ff25518510912e20c799a4e53 /src-qt5/core/lumina-desktop/LDesktop.cpp
parentFix up the detection/usage of the "mailto:" option in lumina-open. This also ... (diff)
downloadlumina-911ef5bfce34ebcd8bc3fc6507108dc384d52de2.tar.gz
lumina-911ef5bfce34ebcd8bc3fc6507108dc384d52de2.tar.bz2
lumina-911ef5bfce34ebcd8bc3fc6507108dc384d52de2.zip
Move to using the "application/[email/terminal]" mimetypes for registering/finding the default email/terminal applications.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LDesktop.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LDesktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktop.cpp b/src-qt5/core/lumina-desktop/LDesktop.cpp
index 113b7efc..11d99581 100644
--- a/src-qt5/core/lumina-desktop/LDesktop.cpp
+++ b/src-qt5/core/lumina-desktop/LDesktop.cpp
@@ -104,7 +104,7 @@ void LDesktop::SystemLogout(){
void LDesktop::SystemTerminal(){
LSession::handle()->sessionSettings()->sync(); //make sure it is up to date
- QString term = LSession::handle()->sessionSettings()->value("default-terminal","xterm").toString();
+ QString term = LXDG::findDefaultAppForMime("application/terminal"); //LSession::handle()->sessionSettings()->value("default-terminal","xterm").toString();
if(term.endsWith(".desktop")){ term = "lumina-open \""+term+"\""; }
LSession::LaunchApplication(term);
}
bgstack15