Altered:
- AMLightweightScanInfo::resetThumbnails() to clearThumbnails() ~ Now
simply clears the thumbnails collection for the scan.
- AMLightweightScanInfoCollection::onDbItemAdded() ~ Now emits a
scanInfoUpdated signal whenever a scan had a thumbnail added.
- AMLightweightScanInfoCollection::onDbItemRemoved() ~ Now calls the
scan info's clearThumbnails() function when a scan's thumbnail is
removed and emits a scanUpdated() signal afterwards.
- AMLightweightScanInfoModel::onScanThumbnailAboutToBeAdded() ~ Calls
beginResetModel() instead of beginInsertRows()
- AMLightweightScanInfoModel::onScanThumbnailAdded() ~ Calls
endResetModel() instead of endInsertRows()
- AMScanThumbnailView::rowsAboutToBeRemoved() ~ Changed from
rowsRemoved() to conform with the structure of QAbstractItemView.
Altered:
- The scanThumbnailAboutToBeAdded() signal chain to remove the passing
of the indices as it is not needed by the final call to the model (which
now uses beginResetModel() instead of beginInsertRows(...)
- Removed calls to qDebug()