diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-30 19:14:42 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-30 19:14:42 +0200 |
| commit | d56c6f312c7784e30794ff71eb0b0ec94cdf15ef (patch) | |
| tree | 78d9d9b24f705e0497523ec32fa77b40c2136fcf /src/qt/clientmodel.cpp | |
| parent | Split off WalletModel from ClientModel, to be able to support multi-wallets i... (diff) | |
| download | discoin-d56c6f312c7784e30794ff71eb0b0ec94cdf15ef.tar.xz discoin-d56c6f312c7784e30794ff71eb0b0ec94cdf15ef.zip | |
Make it very clear when on testnet (green icon, add [testnet] to title)
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 125cb9101..30b4fe723 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -39,6 +39,11 @@ void ClientModel::update() emit numBlocksChanged(getNumBlocks()); } +bool ClientModel::isTestNet() const +{ + return fTestNet; +} + bool ClientModel::inInitialBlockDownload() const { return IsInitialBlockDownload(); |