Changeset View
Changeset View
Standalone View
Standalone View
applets/comic/comic.cpp
Context not available. | |||||
339 | 333 | | |||
---|---|---|---|---|---|
340 | void ComicApplet::checkDayChanged() | 334 | void ComicApplet::checkDayChanged() | ||
341 | { | 335 | { | ||
342 | if ( ( mCurrentDay != QDate::currentDate() ) || !mCurrent.hasImage() ) | 336 | if ( mCurrentDay != QDate::currentDate() ) { | ||
337 | updateComic( mCurrent.current() ); | ||||
338 | mCurrentDay = QDate::currentDate(); | ||||
339 | } else if ( !mCurrent.hasImage() ) { | ||||
343 | updateComic( mCurrent.stored() ); | 340 | updateComic( mCurrent.stored() ); | ||
344 | 341 | } | |||
345 | mCurrentDay = QDate::currentDate(); | | |||
346 | } | 342 | } | ||
347 | 343 | | |||
348 | void ComicApplet::configChanged() | 344 | void ComicApplet::configChanged() | ||
Context not available. |