Merge pull request #5594

7eeeac0 Remove dead BitcoinUnits::id code and update assets-attribution for non-image unit selector (Luke Dashjr)
This commit is contained in:
Wladimir J. van der Laan
2015-01-05 08:55:42 +01:00
3 changed files with 3 additions and 18 deletions

View File

@@ -36,17 +36,6 @@ bool BitcoinUnits::valid(int unit)
}
}
QString BitcoinUnits::id(int unit)
{
switch(unit)
{
case BTC: return QString("btc");
case mBTC: return QString("mbtc");
case uBTC: return QString("ubtc");
default: return QString("???");
}
}
QString BitcoinUnits::name(int unit)
{
switch(unit)

View File

@@ -76,8 +76,6 @@ public:
static QList<Unit> availableUnits();
//! Is unit ID valid?
static bool valid(int unit);
//! Identifier, e.g. for image names
static QString id(int unit);
//! Short name
static QString name(int unit);
//! Longer description