small UI fixes

This commit is contained in:
Aditya Kulkarni
2018-10-23 22:35:21 -07:00
parent a0128c8136
commit fed17ba0ee
3 changed files with 23 additions and 18 deletions

View File

@@ -193,7 +193,7 @@ double Settings::getZECPrice() {
QString Settings::getUSDFormat(double bal) {
if (!isTestnet() && getZECPrice() > 0)
return "$" + QString::number(bal * getZECPrice(), 'f', 2);
return "$" + QLocale(QLocale::English).toString(bal * getZECPrice(), 'f', 2);
else
return QString();
}