diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-05-17 00:02:54 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-05-21 09:18:06 +0800 |
commit | aa6575788302729a321c9a14816dd267fbcb0899 (patch) | |
tree | ad7b1fd1e05b828edadb80bfcc877fc8c90e9bbb /src/protocol/fqterm_ssh_socket.cpp | |
parent | 0e51443aed981f82dc7c07466b7be64c167e26b0 (diff) | |
download | fqterm-aa6575788302729a321c9a14816dd267fbcb0899.tar.xz |
kill unneeded signals and slots
Diffstat (limited to 'src/protocol/fqterm_ssh_socket.cpp')
-rw-r--r-- | src/protocol/fqterm_ssh_socket.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/protocol/fqterm_ssh_socket.cpp b/src/protocol/fqterm_ssh_socket.cpp index 9c00cec..c0b8099 100644 --- a/src/protocol/fqterm_ssh_socket.cpp +++ b/src/protocol/fqterm_ssh_socket.cpp @@ -112,8 +112,6 @@ void FQTermSSHSocket::init(int ssh_version) { FQ_VERIFY(connect(key_exchanger_, SIGNAL(kexError(QString)), this, SLOT(handleError(QString)))); FQ_VERIFY(connect(key_exchanger_, SIGNAL(reKex()), packet_receiver_, SLOT(resetEncryption()))); FQ_VERIFY(connect(key_exchanger_, SIGNAL(reKex()), packet_sender_, SLOT(resetEncryption()))); - FQ_VERIFY(connect(key_exchanger_, SIGNAL(startEncryption(const u_char*)), packet_receiver_, SLOT(startEncryption(const u_char*)))); - FQ_VERIFY(connect(key_exchanger_, SIGNAL(startEncryption(const u_char*)), packet_sender_, SLOT(startEncryption(const u_char*)))); FQ_VERIFY(connect(authentication_, SIGNAL(requestUserPwd(QString *, QString *, bool *)), this, SIGNAL(requestUserPwd(QString *, QString *, bool *)))); FQ_VERIFY(connect(authentication_, SIGNAL(authOK()), this, SLOT(authOK()))); @@ -140,9 +138,6 @@ void FQTermSSHSocket::init(int ssh_version) { FQ_VERIFY(connect(key_exchanger_, SIGNAL(reKex()), packet_receiver_, SLOT(resetEncryption()))); FQ_VERIFY(connect(key_exchanger_, SIGNAL(reKex()), packet_sender_, SLOT(resetEncryption()))); - FQ_VERIFY(connect(key_exchanger_, SIGNAL(startEncryption(const u_char*)), packet_receiver_, SLOT(startEncryption(const u_char*)))); - FQ_VERIFY(connect(key_exchanger_, SIGNAL(startEncryption(const u_char*)), packet_sender_, SLOT(startEncryption(const u_char*)))); - FQ_VERIFY(connect(authentication_, SIGNAL(requestUserPwd(QString *, QString *, bool *)), this, SIGNAL(requestUserPwd(QString *, QString *, bool *)))); FQ_VERIFY(connect(authentication_, SIGNAL(authOK()), this, SLOT(authOK()))); FQ_VERIFY(connect(authentication_, SIGNAL(authError(QString)), this, SLOT(handleError(QString)))); |