| 254 | } |
| 255 | |
| 256 | void SendCoinsEntry::updateDisplayUnit() |
| 257 | { |
| 258 | if(model && model->getOptionsModel()) |
| 259 | { |
| 260 | // Update payAmount with the current unit |
| 261 | ui->payAmount->setDisplayUnit(model->getOptionsModel()->getDisplayUnit()); |
| 262 | ui->payAmount_is->setDisplayUnit(model->getOptionsModel()->getDisplayUnit()); |
| 263 | ui->payAmount_s->setDisplayUnit(model->getOptionsModel()->getDisplayUnit()); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | void SendCoinsEntry::changeEvent(QEvent* e) |
| 268 | { |
nothing calls this directly
no test coverage detected