mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 09:43:55 +02:00
Remove dead BitcoinUnits::id code and update assets-attribution for non-image unit selector
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user