MCPcopy Create free account
hub / github.com/deskflow/deskflow / isDefault

Method isDefault

src/lib/gui/dialogs/ClientConfigDialog.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool ClientConfigDialog::isDefault() const
72{
73 return (ui->cbLanguageSync->isChecked() == Settings::defaultValue(Settings::Client::LanguageSync).toBool()) &&
74 (ui->cbYScrollInvert->isChecked() == Settings::defaultValue(Settings::Client::InvertYScroll).toBool()) &&
75 (ui->sbYScrollScale->value() == Settings::defaultValue(Settings::Client::YScrollScale).toDouble()) &&
76 (ui->cbXScrollInvert->isChecked() == Settings::defaultValue(Settings::Client::InvertXScroll).toBool()) &&
77 (ui->sbXScrollScale->value() == Settings::defaultValue(Settings::Client::XScrollScale).toDouble());
78}
79
80void ClientConfigDialog::setButtonBoxEnabledButtons() const
81{

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected