aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-09-10 10:11:04 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-09-10 10:28:47 +0200
commit4e8cc3cb86a52cd945393e68da0352b3b3f0715a (patch)
treec2ef906303e51ae67d45c8be2f2d31bf12e9d31a
parentf7cdcb80ab7016e33e8399df796885ce54eb63b0 (diff)
parenta95b1199dbcf6c90508250d9b4cfd1df78106a5b (diff)
Merge pull request #4867
a95b119 qt: Remove thousands separators after decimal point (Wladimir J. van der Laan)
-rw-r--r--src/qt/bitcoinunits.cpp5
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)