fix unit names (μBTC)
This commit is contained in:
parent
e285ffcd05
commit
e780b94bd3
1 changed files with 8 additions and 8 deletions
|
@ -6,10 +6,10 @@ QString BitcoinUnits::name(BitcoinUnits::Unit unit)
|
||||||
{
|
{
|
||||||
switch(unit)
|
switch(unit)
|
||||||
{
|
{
|
||||||
case BTC: return "BTC";
|
case BTC: return QString("BTC");
|
||||||
case mBTC: return "mBTC";
|
case mBTC: return QString("mBTC");
|
||||||
case uBTC: return "uBTC";
|
case uBTC: return QString::fromUtf8("μBTC");
|
||||||
default: return "???";
|
default: return QString("???");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@ QString BitcoinUnits::description(BitcoinUnits::Unit unit)
|
||||||
{
|
{
|
||||||
switch(unit)
|
switch(unit)
|
||||||
{
|
{
|
||||||
case BTC: return "Bitcoin";
|
case BTC: return QString("Bitcoin");
|
||||||
case mBTC: return "Milli-bitcoin";
|
case mBTC: return QString("Milli-bitcoin (1/1000)");
|
||||||
case uBTC: return "Micro-bitcoin";
|
case uBTC: return QString("Micro-bitcoin (1/1000,000)");
|
||||||
default: return "???";
|
default: return QString("???");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue