From deb5e435e525ed733aa2f640d1a2cd5adcbb506c Mon Sep 17 00:00:00 2001 From: hypnosis-i2p Date: Fri, 28 Jul 2017 09:21:25 +0800 Subject: [PATCH] fixed i2pd qt gui a bit --- qt/i2pd_qt/ClientTunnelPane.h | 1 + qt/i2pd_qt/ServerTunnelPane.h | 1 + qt/i2pd_qt/TunnelConfig.h | 3 ++- qt/i2pd_qt/TunnelPane.h | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/qt/i2pd_qt/ClientTunnelPane.h b/qt/i2pd_qt/ClientTunnelPane.h index 16416cd8..7052211a 100644 --- a/qt/i2pd_qt/ClientTunnelPane.h +++ b/qt/i2pd_qt/ClientTunnelPane.h @@ -91,6 +91,7 @@ protected: ctc->setdestinationPort(dportInt); ctc->setsigType(readSigTypeComboboxUI(sigTypeComboBox)); + return true; } }; diff --git a/qt/i2pd_qt/ServerTunnelPane.h b/qt/i2pd_qt/ServerTunnelPane.h index a6994841..4069e339 100644 --- a/qt/i2pd_qt/ServerTunnelPane.h +++ b/qt/i2pd_qt/ServerTunnelPane.h @@ -155,6 +155,7 @@ protected: stc->setisUniqueLocal(isUniqueLocalCheckBox->isChecked()); stc->setsigType(readSigTypeComboboxUI(sigTypeComboBox)); + return true; } }; diff --git a/qt/i2pd_qt/TunnelConfig.h b/qt/i2pd_qt/TunnelConfig.h index b91a318c..087ec30b 100644 --- a/qt/i2pd_qt/TunnelConfig.h +++ b/qt/i2pd_qt/TunnelConfig.h @@ -196,7 +196,8 @@ public: gzip(gzip_), sigType(sigType_), maxConns(maxConns_), - address(address_) {} + address(address_), + isUniqueLocal(isUniqueLocal_) {} std::string& gethost(){return host;} int getport(){return port;} std::string& getkeys(){return keys;} diff --git a/qt/i2pd_qt/TunnelPane.h b/qt/i2pd_qt/TunnelPane.h index d0a3d6a8..b7744555 100644 --- a/qt/i2pd_qt/TunnelPane.h +++ b/qt/i2pd_qt/TunnelPane.h @@ -88,6 +88,7 @@ protected: i2cpParams.setOutbound_length(outbound_lengthLineEdit->text()); i2cpParams.setOutbound_quantity(outbound_quantityLineEdit->text()); i2cpParams.setCrypto_tagsToSend(crypto_tagsToSendLineEdit->text()); + return true; } void setupTunnelPane(