diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-08 10:40:54 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-08 10:46:52 +0200 |
commit | a95b1199dbcf6c90508250d9b4cfd1df78106a5b (patch) | |
tree | da75b01930482e56e0a031de9065d5fb3709a11d /src/qt | |
parent | 1f01b29c6fc2aa694b13a2aa1ff6ed8502bba64d (diff) |
qt: Remove thousands separators after decimal point
Revert thousands separators after decimal point, as introduced in #4167.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoinunits.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp index 6f506d3f25..3215363fa0 100644 --- a/src/qt/bitcoinunits.cpp +++ b/src/qt/bitcoinunits.cpp @@ -115,11 +115,6 @@ QString BitcoinUnits::format(int unit, qint64 n, bool fPlus, SeparatorStyle sepa for (int i = 3; i < q_size; i += 3) quotient_str.insert(q_size - i, thin_sp); - int r_size = remainder_str.size(); - if (separators == separatorAlways || (separators == separatorStandard && r_size > 4)) - for (int i = 3, adj = 0; i < r_size ; i += 3, adj++) - remainder_str.insert(i + adj, thin_sp); - if (n < 0) quotient_str.insert(0, '-'); else if (fPlus && n > 0) |