use qterminal as the default terminal emulator
This commit is contained in:
parent
cc1e384001
commit
dd91facca4
|
@ -2828,7 +2828,12 @@ void Settings::Environment::doLoad()
|
||||||
mDefaultOpenFolder = QDir::currentPath();
|
mDefaultOpenFolder = QDir::currentPath();
|
||||||
}
|
}
|
||||||
#ifdef Q_OS_LINUX
|
#ifdef Q_OS_LINUX
|
||||||
mTerminalPath = stringValue("terminal_path","/usr/bin/x-terminal-emulator");
|
//use qterminal by default
|
||||||
|
mTerminalPath = stringValue("terminal_path","/usr/bin/qterminal");
|
||||||
|
if (mTerminalPath.isEmpty())
|
||||||
|
mTerminalPath = stringValue("terminal_path","/usr/bin/konsole");
|
||||||
|
if (mTerminalPath.isEmpty())
|
||||||
|
mTerminalPath = stringValue("terminal_path","/usr/bin/x-terminal-emulator");
|
||||||
mAStylePath = includeTrailingPathDelimiter(pSettings->dirs().appDir())+"astyle";
|
mAStylePath = includeTrailingPathDelimiter(pSettings->dirs().appDir())+"astyle";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue