diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-08 16:41:31 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-08 16:41:31 -0400 |
commit | 911ef5bfce34ebcd8bc3fc6507108dc384d52de2 (patch) | |
tree | 6e6979a4626fb34ff25518510912e20c799a4e53 /src-qt5/core/lumina-desktop/LDesktop.cpp | |
parent | Fix up the detection/usage of the "mailto:" option in lumina-open. This also ... (diff) | |
download | lumina-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.cpp | 2 |
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); } |