Browse Source

0.8.5.11

pull/29/head v0.8.5.11
R4SAS 6 years ago
parent
commit
616a9aa1ba
  1. 4
      src/clientversion.h
  2. 9
      src/qt/bitcoingui.cpp

4
src/clientversion.h

@ -9,14 +9,14 @@
#define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8 #define CLIENT_VERSION_MINOR 8
#define CLIENT_VERSION_REVISION 5 #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 // Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true #define CLIENT_VERSION_IS_RELEASE true
// Copyright year (2009-this) // Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source // 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. // Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro! // Don't merge these into one macro!

9
src/qt/bitcoingui.cpp

@ -336,21 +336,20 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
createTrayIconMenu(); createTrayIconMenu();
// Keep up to date with client // 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()) if (clientModel->isI2POnly())
{ {
labelI2POnly->setText("I2P"); labelI2POnly->setText("I2P");
labelI2POnly->setToolTip(tr("Wallet is using I2P-network only")); labelI2POnly->setToolTip(tr("Wallet is using I2P-network only"));
setNumI2PConnections(clientModel->getNumI2PConnections());
connect(clientModel, SIGNAL(numI2PConnectionsChanged(int)), this, SLOT(setNumI2PConnections(int)));
} }
else else
{ {
labelI2POnly->setText("CLR"); labelI2POnly->setText("CLR");
labelI2POnly->setToolTip(tr("Wallet is using mixed or non-I2P (clear) network")); 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()) if (clientModel->isI2PAddressGenerated())

Loading…
Cancel
Save