Adds the ImageStorage::instance()->commit() to the Processor::addFile and Processor::removeFile
ClosedPublic

Authored by atulsharma on Jul 8 2017, 12:38 PM.

Details

Summary
  • Previously it just called ImageStorage::commit() for just initialFetch
  • Since ImageStorage::commit() emits ImageStorage::storageModified() signal, the ImageLocationModel, ImageTimeModel and ImageListModel updates automatically as they responds to the storageModeigied signal and reset the view

Diff Detail

Repository
R659 Koko Image Gallery
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
atulsharma created this revision.Jul 8 2017, 12:38 PM
atulsharma edited the summary of this revision. (Show Details)Jul 8 2017, 12:48 PM
mart accepted this revision.Jul 9 2017, 7:31 PM
This revision is now accepted and ready to land.Jul 9 2017, 7:31 PM
This revision was automatically updated to reflect the committed changes.