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

Frank Reininghaus frank78ac at googlemail.com
Fri Jan 31 12:44:13 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115410/#review48673
-----------------------------------------------------------

Ship it!


Thanks for the patch. Good catch, makes sense!

- Frank Reininghaus


On Jan. 31, 2014, 12:03 p.m., Emmanuel Pescosta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115410/
> -----------------------------------------------------------
> 
> (Updated Jan. 31, 2014, 12:03 p.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   dolphin/src/views/versioncontrol/versioncontrolobserver.h 980374a 
>   dolphin/src/views/versioncontrol/versioncontrolobserver.cpp 888d934 
> 
> Diff: https://git.reviewboard.kde.org/r/115410/diff/
> 
> 
> Testing
> -------
> 
> Moved around some bigger folders. (Tested with the Dropbox-Plugin)
> 
> Version states were always correct ;)
> 
> 
> Thanks,
> 
> Emmanuel Pescosta
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20140131/c5e5e9b5/attachment.htm>


More information about the kfm-devel mailing list