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

Peter Penz peter.penz at gmx.at
Tue Aug 12 19:39:00 BST 2008


Hi Simon,

Am Tuesday, 12. August 2008 19:31:01 schrieb Simon St James:
> 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.

I've just committed your patch into SVN - maybe you can just play around with 
this version as base :-)

BTW: I renamed AutoExpander to FolderExpander - hope this is OK for you.

> Best Wishes,
> Simon





More information about the kfm-devel mailing list