diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-04 21:20:00 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-27 11:55:44 +0300 |
commit | 8d75115844baefe5cad4d82ec8dce001dd16eb9c (patch) | |
tree | 3e22c8258639bbf54c819fd9a058b928762e36ff /src/qt/test/wallettests.cpp | |
parent | 73d8ef72742ab9193e9e95158b26176bfaab3f66 (diff) |
qt: Add privacy feature to Overview page
Diffstat (limited to 'src/qt/test/wallettests.cpp')
-rw-r--r-- | src/qt/test/wallettests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp index 94a1e0a63d..2ba2587852 100644 --- a/src/qt/test/wallettests.cpp +++ b/src/qt/test/wallettests.cpp @@ -202,7 +202,7 @@ void TestGUI(interfaces::Node& node) OverviewPage overviewPage(platformStyle.get()); overviewPage.setWalletModel(&walletModel); QLabel* balanceLabel = overviewPage.findChild<QLabel*>("labelBalance"); - QString balanceText = balanceLabel->text(); + QString balanceText = balanceLabel->text().trimmed(); int unit = walletModel.getOptionsModel()->getDisplayUnit(); CAmount balance = walletModel.wallet().getBalance(); QString balanceComparison = BitcoinUnits::formatWithUnit(unit, balance, false, BitcoinUnits::separatorAlways); |