summaryrefslogtreecommitdiff
path: root/src/ui/addrdialog.cpp
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2014-04-07 10:54:13 +0800
committerIru Cai <mytbk920423@gmail.com>2014-04-07 10:54:13 +0800
commitd35448c396c91346966770e4e414dc11eae2c6ac (patch)
tree363f81e3bcbf873ab4f0ac39b23526d5eeb15081 /src/ui/addrdialog.cpp
parent019735dd84eeb35e5415ac67e1f9b08cfba3a61b (diff)
downloadfqterm-d35448c396c91346966770e4e414dc11eae2c6ac.tar.xz
merge SSH{1,2} to SSH.
The code for SSH1 and SSH2 have no difference, and FQTerm can check the SSH protocol version the server is using, so merge them.
Diffstat (limited to 'src/ui/addrdialog.cpp')
-rw-r--r--src/ui/addrdialog.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/addrdialog.cpp b/src/ui/addrdialog.cpp
index 79e62a8..ab4f174 100644
--- a/src/ui/addrdialog.cpp
+++ b/src/ui/addrdialog.cpp
@@ -270,17 +270,6 @@ void addrDialog::onProtocol(int n) {
ui_.sshAutoLoginGroup->setChecked(false);
break;
case 1:
-#if defined(_NO_SSH_COMPILED)
- QMessageBox::warning(this, "sorry",
- "SSH support is not compiled, check your OpenSSL and try to recompile FQTerm");
- ui_.protocolComboBox->setCurrentItem(0);
-#else
- ui_.telnetAutoLoginGroup->setEnabled(false);
- ui_.telnetAutoLoginGroup->setChecked(false);
- ui_.sshAutoLoginGroup->setEnabled(true);
- ui_.sshAutoLoginGroup->setChecked(param_.isAutoLogin_);
-#endif
- break;
case 2:
#if defined(_NO_SSH_COMPILED)
QMessageBox::warning(this, "sorry",