[Kde-pim] solving right-click changing folder problem

Frank Thieme frank at fthieme.net
Sun May 31 10:50:45 BST 2009


Hi!

As it bugs me since ages I had a look how to solve the problem, that a right 
click on any folder actually opens that folder before showing the context 
menu.

But as I'm not experienced with the kmail/kde/qt codebase, I started with 
FolderView::conextMenuEvent() and removed the activateItem() line.

next is to remember last button pressed was right button in 
FolderView::mousePressEvent() and ignore the activateItem() line of 
FolderView::slotItemClicked() if it was a right-click.

Somehow the folder is still opened.

Any suggestions where I should look for?

Bye...Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090531/0db3861e/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list