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.h | |
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.h')
-rw-r--r-- | src/qt/bitcoinunits.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h index 252942e47b..fda067b0b8 100644 --- a/src/qt/bitcoinunits.h +++ b/src/qt/bitcoinunits.h @@ -88,6 +88,7 @@ public: static QString format(int unit, const CAmount& amount, bool plussign=false, SeparatorStyle separators=separatorStandard); //! Format as string (with unit) static QString formatWithUnit(int unit, const CAmount& amount, bool plussign=false, SeparatorStyle separators=separatorStandard); + //! Format as HTML string (with unit) static QString formatHtmlWithUnit(int unit, const CAmount& amount, bool plussign=false, SeparatorStyle separators=separatorStandard); //! Parse string to coin amount static bool parse(int unit, const QString &value, CAmount *val_out); |