diff options
author | Jonathan White <support@dmapps.us> | 2020-08-02 01:00:47 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-08-08 22:40:00 +0300 |
commit | c538f0b907aaae5b8033b9bd370e7d9ea58488de (patch) | |
tree | acf7c329ee25c1adfee1d56c4cacd1e75f57372f /tests | |
parent | fd7daf4c896ab59dd4c65c82a6b29920378b8a31 (diff) |
Fixup saving non-data changes on database lock
* Fix #5107
* Change setting for non-data changes to Auto save on database lock (or not) instead of marking modified.
* When enabled, database will be auto-saved if there are only non-data changes, but will not prompt the user if saving has failed.
* When disabled, database will not auto-save if there are only non-data changes (same behavior as 2.5 and below) and will not mark the database dirty.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestConfig.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/TestConfig.cpp b/tests/TestConfig.cpp index 23661b046..1ce6c14ec 100644 --- a/tests/TestConfig.cpp +++ b/tests/TestConfig.cpp @@ -37,7 +37,6 @@ void TestConfig::testUpgrade() Config::createConfigFromFile(tempFile.fileName()); // value of new setting should be opposite the value of deprecated setting - QVERIFY(config()->get(Config::TrackNonDataChanges).toBool()); QVERIFY(!config()->get(Config::Security_PasswordsRepeatVisible).toBool()); QVERIFY(!config()->get(Config::Security_PasswordsHidden).toBool()); QVERIFY(config()->get(Config::Security_PasswordEmptyPlaceholder).toBool()); |