| 292 | } |
| 293 | |
| 294 | QString MainWindow::intToQString(int value) const { |
| 295 | if (value < 0) |
| 296 | return "-"; |
| 297 | return QString::number(value); |
| 298 | } |
| 299 | |
| 300 | void MainWindow::updateBatteryCharge() { |
| 301 | ui->BatteryChargeValueLabel->setText(intToQString(operate.getBatteryCharge()) + " %"); |
nothing calls this directly
no outgoing calls
no test coverage detected