Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoinunits.cpp
Show First 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | if (row >= 0 && row < unitlist.size()) { | ||||
case UnitRole: | case UnitRole: | ||||
return QVariant(static_cast<int>(unit)); | return QVariant(static_cast<int>(unit)); | ||||
} | } | ||||
} | } | ||||
return QVariant(); | return QVariant(); | ||||
} | } | ||||
CAmount BitcoinUnits::maxMoney() { | CAmount BitcoinUnits::maxMoney() { | ||||
return MAX_MONEY; | return MAX_MONEY.GetSatoshis(); | ||||
} | } |