[PATCH] Tiny patch for spring-loaded folders in Dolphin

Simon St James kdedevel at etotheipiplusone.com
Tue Aug 12 18:31:01 BST 2008


Hi Peter,

> This was my first thought and would be absolutely ideal, but
> unfortunately it is thwarted by the fact that, while a startDrag event
> can be reliably detected by FolderExpander, cancellation of the drag
> cannot (a successful QDragDrop can be, though, IIRC), as far as I can
> tell, which is a major pain the a** ;)

Oops, silly me - turns out that this can be detected for all view modes in 
DragAndDropHelper::startDrag  - the drag has successfully completed/ been 
cancelled when drag->exec(...) terminates! This should make finishing the 
feature fairly trivial, although I'm not sure of the most elegant way to 
approach it.

Best Wishes,
Simon




More information about the kfm-devel mailing list