projects
/
yandex-traffic
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display update-wneh-locked option.
[yandex-traffic]
/
settingsDialog.cpp
diff --git
a/settingsDialog.cpp
b/settingsDialog.cpp
index
77ff7eb
..
7dac9e7
100644
(file)
--- a/
settingsDialog.cpp
+++ b/
settingsDialog.cpp
@@
-82,7
+82,14
@@
void SettingsDialog::updateUpdateButtonValue ()
if (_settings->check (Settings::C_UpdateOnGSM))
list.append (tr ("GSM"));
if (_settings->check (Settings::C_UpdateOnGSM))
list.append (tr ("GSM"));
- _updateButton->setValueText (val + list.join (", "));
+ val += list.join (", ");
+
+ if (_settings->check (Settings::C_UpdateWhenLocked))
+ val += ", " + tr ("Update when locked");
+ else
+ val += ", " + tr ("Not update when locked");
+
+ _updateButton->setValueText (val);
}
}