Merge branch 'master' of github.com:royqh1979/RedPanda-CPP

This commit is contained in:
Roy Qu 2022-01-04 20:52:10 +08:00
commit 95168077b9
2 changed files with 7 additions and 2 deletions

View File

@ -2828,7 +2828,12 @@ void Settings::Environment::doLoad()
mDefaultOpenFolder = QDir::currentPath();
}
#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";
#endif
}

View File

@ -6,4 +6,4 @@ Architecture: amd64
Essential: no
Maintainer: royqh1979@gmail.com
Description: Red Panda C++. A QT-based lightweighted C/C++ editor
Depends: gcc, g++, gdb, gdbserver, make
Depends: gcc, g++, gdb, gdbserver, make, qterminal, libqt5gui5, libqt5widgets5, libqt5svg5