[KPhotoAlbum] Shortcuts broken

Christoph Moseler forums at moseler.net
Thu Mar 20 20:20:25 GMT 2008


Hi,

the shortcuts in the popup-menus disappeared. If you do a right-click in 
the Thumbnailview or the Viewer, neither the shortcuts are displayed nor 
pressing the associated keys has an effect.

The shortcuts are currently set like that:

seek->setShortcut( info.key, KAction::DefaultShortcut );

The problem is, that KAction::ActiveShortcut is missing, see 
http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/classKAction.html#a3e7ed02b11ff5822784ae2a997c677a

If the second parameter is removed, the default
  KAction::ActiveShortcut | KAction::DefaultShortcut
is used and -- we have back the shortcuts.

I fixed that by replacing ", KAction::DefaultShortcut" with "" in the 
whole source-tree.

Happy Easter,
Christoph



More information about the Kphotoalbum mailing list