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

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

Description

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

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

Reviewers: Koko, mart

Reviewed By: Koko, mart

Maniphest Tasks: T6471

Differential Revision: https://phabricator.kde.org/D6570