* @brief Resets all UI fields to their default values. */
| 69 | * @brief Resets all UI fields to their default values. |
| 70 | */ |
| 71 | void Window::resetFields() |
| 72 | { |
| 73 | m_ui->installedVersion->setText("0.1"); |
| 74 | m_ui->customAppcast->setChecked(false); |
| 75 | m_ui->enableDownloader->setChecked(true); |
| 76 | m_ui->showAllNotifcations->setChecked(false); |
| 77 | m_ui->showUpdateNotifications->setChecked(true); |
| 78 | m_ui->mandatoryUpdate->setChecked(false); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * @brief Reads the UI settings and triggers an update check. |
nothing calls this directly
no test coverage detected