Skip to content

Commit

Permalink
[devicelock] Change the default automatic locking time to 5 minutes. …
Browse files Browse the repository at this point in the history
…Fixes JB#37634

This matches what it will be initialized to when device lock is first enabled.
  • Loading branch information
adenexter committed Mar 8, 2017
1 parent 4d1eccc commit 2708122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nemo-devicelock/private/settingswatcher.cpp
Expand Up @@ -198,7 +198,7 @@ void SettingsWatcher::reloadSettings()
GKeyFile * const settings = g_key_file_new();
g_key_file_load_from_file(settings, m_settingsPath.toUtf8().constData(), G_KEY_FILE_NONE, 0);

read(settings, this, automaticLockingKey, 10, &SettingsWatcher::automaticLocking, &SettingsWatcher::automaticLockingChanged);
read(settings, this, automaticLockingKey, 5, &SettingsWatcher::automaticLocking, &SettingsWatcher::automaticLockingChanged);
read(settings, this, minimumLengthKey, 5, &SettingsWatcher::minimumLength, &SettingsWatcher::minimumLengthChanged);
read(settings, this, maximumLengthKey, 42, &SettingsWatcher::maximumLength, &SettingsWatcher::maximumLengthChanged);
read(settings, this, maximumAttemptsKey, -1, &SettingsWatcher::maximumAttempts, &SettingsWatcher::maximumAttemptsChanged);
Expand Down

0 comments on commit 2708122

Please sign in to comment.