MCPcopy Create free account
hub / github.com/YACReader/yacreader / saveOptions

Method saveOptions

YACReaderLibrary/options_dialog.cpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void OptionsDialog::saveOptions()
108{
109 const auto selectedLanguage = languageCombo->currentData().toString().trimmed();
110 if (selectedLanguage.isEmpty())
111 settings->remove(UI_LANGUAGE);
112 else
113 settings->setValue(UI_LANGUAGE, selectedLanguage);
114
115 settings->setValue(THIRD_PARTY_READER_COMMAND, thirdPartyReaderEdit->text());
116 YACReaderOptionsDialog::saveOptions();
117}
118
119void OptionsDialog::useBackgroundImageCheckClicked(bool checked)
120{

Callers

nothing calls this directly

Calls 5

toStringMethod · 0.80
isEmptyMethod · 0.80
setValueMethod · 0.80
textMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected