MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / resetFields

Method resetFields

lib/QSimpleUpdater/tutorial/src/Window.cpp:71–79  ·  view source on GitHub ↗

* @brief Resets all UI fields to their default values. */

Source from the content-addressed store, hash-verified

69 * @brief Resets all UI fields to their default values.
70 */
71void 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.

Callers

nothing calls this directly

Calls 1

setCheckedMethod · 0.80

Tested by

no test coverage detected