diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testpreferences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp index bcfc87c69..db50aff5d 100644 --- a/tests/testpreferences.cpp +++ b/tests/testpreferences.cpp @@ -553,7 +553,7 @@ void TestPreferences::testPreferences() TEST(update->lastVersionUsed(), QStringLiteral("tomaz-1")); TEST(update->nextCheck(), date); - date.addDays(3); + date = date.addDays(3); update->setDontCheckForUpdates(false); update->setLastVersionUsed("tomaz-2"); update->setNextCheck(date); |