Don't store the index of the file item in the VersionControlObserver::ItemState

Review Request #115410 - Created Jan. 31, 2014 and submitted

Information
Emmanuel Pescosta
kde-baseapps
master
Reviewers
dolphin
One of many changes to make the version control code more robust.
Found this problem while I was trying to reproduce bug 330605.

Don't store the index of the file item in the VersionControlObserver::ItemState, get the index of the file item on demand instead.

Fixes some "old"-index (model has changed) problems, esp. when you copy/move around files while the version control thread is still running.
Moved around some bigger folders. (Tested with the Dropbox-Plugin)

Version states were always correct ;)
Frank Reininghaus
Commit Hook
Emmanuel Pescosta
Review request changed

Status: Closed (submitted)

Loading...