| 240 | } |
| 241 | |
| 242 | void OverviewPage::updateDisplayUnit() |
| 243 | { |
| 244 | if(walletModel && walletModel->getOptionsModel()) |
| 245 | { |
| 246 | if (m_balances.balance != -1) { |
| 247 | setBalance(m_balances); |
| 248 | } |
| 249 | |
| 250 | // Update txdelegate->unit with the current unit |
| 251 | txdelegate->unit = walletModel->getOptionsModel()->getDisplayUnit(); |
| 252 | |
| 253 | ui->listTransactions->update(); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | void OverviewPage::updateAlerts(const QString &warnings) |
| 258 | { |
nothing calls this directly
no test coverage detected