diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-08 16:58:01 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-08 16:58:01 -0400 |
commit | 8420244ca6fcddd63f67eedbd20b5640f630ce24 (patch) | |
tree | 080fb4f315c4de2064af1b10905a2f9fbb656ae6 /src-qt5/desktop-utils/lumina-fm/MainUI.cpp | |
parent | Move to using the "application/[email/terminal]" mimetypes for registering/fi... (diff) | |
download | lumina-8420244ca6fcddd63f67eedbd20b5640f630ce24.tar.gz lumina-8420244ca6fcddd63f67eedbd20b5640f630ce24.tar.bz2 lumina-8420244ca6fcddd63f67eedbd20b5640f630ce24.zip |
Adjust the last couple utilities to use the new application/[terminal/email] mimetypes.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/MainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/MainUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp index 010df40d..5b0497d2 100644 --- a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp @@ -720,8 +720,8 @@ void MainUI::OpenTerminal(QString dirpath){ //we use the application defined as the default terminal QSettings sessionsettings( QSettings::UserScope, "LuminaDE","sessionsettings", this); //xterm remains the default - QString defTerminal = sessionsettings.value("default-terminal", "xterm").toString(); - //qDebug() << "Found default terminal:" << defTerminal; + QString defTerminal = LXDG::findDefaultAppForMime("application/terminal"); //sessionsettings.value("default-terminal", "xterm").toString(); + qDebug() << "Found default terminal:" << defTerminal; //Now get the exec string and run it QString cmd = LUtils::GenerateOpenTerminalExec(defTerminal, dirpath); //qDebug() << "Starting Terminal with command:" << cmd; |