Patch for bug 62672: Tree view rooted at devices:/ malfunctions

Wilco Greven greven at kde.org
Fri Oct 10 11:55:34 BST 2003


Hi,

Below is a patch which should fix bug 62672. Items in redirected subdirs where 
listed at the toplevel because the treeview doesn't handle the redirection 
correctly. When a redirection happens a clear(url) signal is sent first by 
the dirlister. The treeview handled the clear signal by removing the entire 
directory instead of clearing it. 
The patch fixes this by splitting up the removeSubDir method in a clearSubDir 
method and a smaller removeSubDir method which calls clearSubDir. 
One thing I'm not sure about is whether the directory should be removed from 
m_urlsToOpen and m_urlsToReload in the clear or the remove method.

Bug report: http://bugs.kde.org/show_bug.cgi?id=62672

Ok to commit?

Greetings,
Wilco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: treeview.diff
Type: text/x-diff
Size: 2124 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031010/a3d34634/attachment.diff>


More information about the kfm-devel mailing list