From 210dce51827f41f96a70a2d1c367e79ae45863fd Mon Sep 17 00:00:00 2001 From: Max Lapan Date: Wed, 17 Mar 2010 06:48:59 +0300 Subject: [PATCH] Display update-wneh-locked option. --- settingsDialog.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/settingsDialog.cpp b/settingsDialog.cpp index 77ff7eb..7dac9e7 100644 --- a/settingsDialog.cpp +++ b/settingsDialog.cpp @@ -82,7 +82,14 @@ void SettingsDialog::updateUpdateButtonValue () 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); } -- 1.7.9.5