diff options
author | fanquake <fanquake@gmail.com> | 2015-12-26 11:49:19 +0800 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-01-13 21:25:36 +0000 |
commit | e20704ba7183ab85afde390153ce04794cffdb07 (patch) | |
tree | 68d90fdd9a9eeb8e13cc34e58eff33718f48c439 /src/qt/bitcoinunits.cpp | |
parent | 6f8346db5fa5b33d1d8ca197641844b7f8a40b5d (diff) | |
download | bitcoin-e20704ba7183ab85afde390153ce04794cffdb07.tar.xz |
Replace some instances of formatWithUnit with formatHtmlWithUnit
Strings in a HTML context should be using formatHtmlWithUnit.
Github-Pull: #7255
Rebased-From: 5fdf32de7ed85a1a0aec7cdedb83f750f4a0f7ff
Diffstat (limited to 'src/qt/bitcoinunits.cpp')
-rw-r--r-- | src/qt/bitcoinunits.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp index de5799130b..6490057897 100644 --- a/src/qt/bitcoinunits.cpp +++ b/src/qt/bitcoinunits.cpp @@ -111,13 +111,6 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator } -// TODO: Review all remaining calls to BitcoinUnits::formatWithUnit to -// TODO: determine whether the output is used in a plain text context -// TODO: or an HTML context (and replace with -// TODO: BtcoinUnits::formatHtmlWithUnit in the latter case). Hopefully -// TODO: there aren't instances where the result could be used in -// TODO: either context. - // NOTE: Using formatWithUnit in an HTML context risks wrapping // quantities at the thousands separator. More subtly, it also results // in a standard space rather than a thin space, due to a bug in Qt's |