Changeset 252dfaf in subsurface


Ignore:
Timestamp:
Jul 3, 2017, 7:54:54 PM (4 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
016b19e
Parents:
d17bb63
git-author:
Seamus Boyle <seamus@…> (07/03/17 19:14:18)
git-committer:
Dirk Hohndel <dirk@…> (07/03/17 19:54:54)
Message:

TestPreferences?: Fix update manager test date

QDate::addDays() returns a copy with the changed date, calling it and
ignoring the return value does nothing.

Signed-off-by: Seamus Boyle <seamus@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testpreferences.cpp

    ree1bf18 r252dfaf  
    554554        TEST(update->nextCheck(), date);
    555555
    556         date.addDays(3);
     556        date = date.addDays(3);
    557557        update->setDontCheckForUpdates(false);
    558558        update->setLastVersionUsed("tomaz-2");
Note: See TracChangeset for help on using the changeset viewer.