Changeset View
Changeset View
Standalone View
Standalone View
applets/comic/comicupdater.cpp
Context not available. | |||||
58 | void ComicUpdater::save() | 58 | void ComicUpdater::save() | ||
---|---|---|---|---|---|
59 | { | 59 | { | ||
60 | mGroup.writeEntry( "updateInterval", mUpdateIntervall ); | 60 | mGroup.writeEntry( "updateInterval", mUpdateIntervall ); | ||
61 | mGroup.sync(); | ||||
61 | } | 62 | } | ||
62 | 63 | | |||
63 | void ComicUpdater::setInterval( int interval ) | 64 | void ComicUpdater::setInterval( int interval ) | ||
Context not available. | |||||
81 | 82 | | |||
82 | if ( !mLastUpdate.isValid() || ( mLastUpdate.addDays( mUpdateIntervall ) < QDateTime::currentDateTime() ) ) { | 83 | if ( !mLastUpdate.isValid() || ( mLastUpdate.addDays( mUpdateIntervall ) < QDateTime::currentDateTime() ) ) { | ||
83 | mGroup.writeEntry( "lastUpdate", QDateTime::currentDateTime() ); | 84 | mGroup.writeEntry( "lastUpdate", QDateTime::currentDateTime() ); | ||
85 | mGroup.sync(); | ||||
84 | downloadManager()->checkForUpdates(); | 86 | downloadManager()->checkForUpdates(); | ||
85 | } | 87 | } | ||
86 | } | 88 | } | ||
Context not available. |