Double-click for expanding collection root item

Jeff Mitchell mitchell at kde.org
Fri Apr 3 14:53:59 CEST 2009


Seb Ruiz wrote:
> 2009/4/3 Nikolaj Hald Nielsen <nhnfreespirit at gmail.com>:
>>> Then we're implementing the mousePressEvent instead of mouseClickEvent()
>> Ah, clever! :-)
> 
> Turns out that the mouseClickEvent doesn't exist, so the solution is
> to catch mouseReleaseEvent instead.

Or filter using QMouseEvent::button() ...
http://doc.trolltech.com/4.5/qt.html#MouseButton-enum

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20090403/52af1ac4/attachment.sig 


More information about the Amarok-devel mailing list