Don't updateCell for a new thumbnail

CCBUG: 505015

Here's another scenario that logs "dataChanged() called with an invalid index range":

  • start a fresh demo
  • open the thumbnail view
  • add at least one new image in the demo folder
  • rescan for new images - the message is logged once per new image

This patch only triggers dataChanged() when a thumbnail is updated, not when a new thumbnail is inserted into the cache.

Merge request reports

Loading