MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / getAmountTitle

Method getAmountTitle

src/qt/recentrequeststablemodel.cpp:123–126  ·  view source on GitHub ↗

Gets title for amount column including current display unit if optionsModel reference available. */

Source from the content-addressed store, hash-verified

121
122/** Gets title for amount column including current display unit if optionsModel reference available. */
123QString RecentRequestsTableModel::getAmountTitle()
124{
125 return (this->walletModel->getOptionsModel() != nullptr) ? tr("Requested") + " ("+BitcoinUnits::shortName(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")" : "";
126}
127
128QModelIndex RecentRequestsTableModel::index(int row, int column, const QModelIndex &parent) const
129{

Callers

nothing calls this directly

Calls 2

getDisplayUnitMethod · 0.80
getOptionsModelMethod · 0.45

Tested by

no test coverage detected