diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-04-07 10:54:13 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-04-07 10:54:13 +0800 |
commit | d35448c396c91346966770e4e414dc11eae2c6ac (patch) | |
tree | 363f81e3bcbf873ab4f0ac39b23526d5eeb15081 /src/ui/addrdialog.cpp | |
parent | 019735dd84eeb35e5415ac67e1f9b08cfba3a61b (diff) | |
download | fqterm-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.cpp | 11 |
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", |