1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-02-05 19:34:16 +00:00
This commit is contained in:
R4SAS 2018-02-09 02:06:31 +03:00
parent 3cea71da9e
commit 616a9aa1ba
2 changed files with 6 additions and 7 deletions

View File

@ -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!

View File

@ -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())