diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-08-08 10:07:04 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-08-08 10:07:04 +0800 |
commit | d247df5a7865c59d5321ba629a28659e2bed814f (patch) | |
tree | 6fb683159573f9a60062e837337091cc0110c854 | |
parent | 7ec1765339d61e33119ef4b6367d8c9811f0a49e (diff) | |
download | fqterm-d247df5a7865c59d5321ba629a28659e2bed814f.tar.xz |
give local_shell_bin a non-NULL value
-rw-r--r-- | src/common/fqterm_path.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/fqterm_path.cpp b/src/common/fqterm_path.cpp index 7921da1..f3265eb 100644 --- a/src/common/fqterm_path.cpp +++ b/src/common/fqterm_path.cpp @@ -199,6 +199,8 @@ bool iniSettings() { QString externSSH = conf->getItemValue("global", "externSSH"); if (!externSSH.isEmpty()) local_shell_bin = new QString(externSSH); + else + local_shell_bin = new QString("ssh -p %0 %1"); delete conf; return true; |