diff options
| author | William Casarin <[email protected]> | 2017-12-27 08:01:45 -0800 |
|---|---|---|
| committer | William Casarin <[email protected]> | 2017-12-28 09:54:58 -0800 |
| commit | 275b2eeed4050d8797bf127e5abf171c050e182a (patch) | |
| tree | 0ee7df1cc8c5f470a25dd1171a0863bf6128dbfc /src/qt/recentrequeststablemodel.cpp | |
| parent | Merge #11517: Tests: Improve benchmark precision (diff) | |
| download | discoin-275b2eeed4050d8797bf127e5abf171c050e182a.tar.xz discoin-275b2eeed4050d8797bf127e5abf171c050e182a.zip | |
[qt] change µBTC to bits
* Now that we have bip176, change "µBTC" to the more colloquial "bits"
* We retain the `µBTC (bits)` description in dropdowns and status bars.
The more concise "bits" is used when appended to numbers.
Signed-off-by: William Casarin <[email protected]>
Diffstat (limited to 'src/qt/recentrequeststablemodel.cpp')
| -rw-r--r-- | src/qt/recentrequeststablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/recentrequeststablemodel.cpp b/src/qt/recentrequeststablemodel.cpp index 4d6e401d0..c60fb3629 100644 --- a/src/qt/recentrequeststablemodel.cpp +++ b/src/qt/recentrequeststablemodel.cpp @@ -123,7 +123,7 @@ void RecentRequestsTableModel::updateAmountColumnTitle() /** Gets title for amount column including current display unit if optionsModel reference available. */ QString RecentRequestsTableModel::getAmountTitle() { - return (this->walletModel->getOptionsModel() != nullptr) ? tr("Requested") + " ("+BitcoinUnits::name(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")" : ""; + return (this->walletModel->getOptionsModel() != nullptr) ? tr("Requested") + " ("+BitcoinUnits::shortName(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")" : ""; } QModelIndex RecentRequestsTableModel::index(int row, int column, const QModelIndex &parent) const |