diff --git a/src/clientversion.h b/src/clientversion.h index bb9a131..d9d3f05 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,14 +9,14 @@ #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 8 #define CLIENT_VERSION_REVISION 5 -#define CLIENT_VERSION_BUILD 10 +#define CLIENT_VERSION_BUILD 11 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true // Copyright year (2009-this) // Todo: update this when changing our copyright comments in the source -#define COPYRIGHT_YEAR 2017 +#define COPYRIGHT_YEAR 2018 // Converts the parameter X to a string after macro replacement on X has been performed. // Don't merge these into one macro! diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index f29fd8d..993253d 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -336,21 +336,20 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) createTrayIconMenu(); // Keep up to date with client - setNumConnections(clientModel->getNumConnections()); - connect(clientModel, SIGNAL(numConnectionsChanged(int)), this, SLOT(setNumConnections(int))); - - setNumI2PConnections(clientModel->getNumI2PConnections()); - connect(clientModel, SIGNAL(numI2PConnectionsChanged(int)), this, SLOT(setNumI2PConnections(int))); if (clientModel->isI2POnly()) { labelI2POnly->setText("I2P"); labelI2POnly->setToolTip(tr("Wallet is using I2P-network only")); + setNumI2PConnections(clientModel->getNumI2PConnections()); + connect(clientModel, SIGNAL(numI2PConnectionsChanged(int)), this, SLOT(setNumI2PConnections(int))); } else { labelI2POnly->setText("CLR"); labelI2POnly->setToolTip(tr("Wallet is using mixed or non-I2P (clear) network")); + setNumConnections(clientModel->getNumConnections()); + connect(clientModel, SIGNAL(numConnectionsChanged(int)), this, SLOT(setNumConnections(int))); } if (clientModel->isI2PAddressGenerated())