diff options
| author | Philip Kaufmann <[email protected]> | 2014-06-11 12:23:49 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-06-12 13:19:12 +0200 |
| commit | f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95 (patch) | |
| tree | 44b49c1f22f9c9ec6ec0ea9aede291b17112595b /src/qt/clientmodel.cpp | |
| parent | Merge pull request #2784 (diff) | |
| download | discoin-f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95.tar.xz discoin-f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95.zip | |
add NetworkIDString() to chainparams
- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
and functions
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 403b03378..9c9565be6 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -142,14 +142,6 @@ void ClientModel::updateAlert(const QString &hash, int status) emit alertsChanged(getStatusBarWarnings()); } -QString ClientModel::getNetworkName() const -{ - QString netname(QString::fromStdString(Params().DataDir())); - if(netname.isEmpty()) - netname = "main"; - return netname; -} - bool ClientModel::inInitialBlockDownload() const { return IsInitialBlockDownload(); |