From kde-devel Mon May 01 06:37:36 2006 From: Jason Harris Date: Mon, 01 May 2006 06:37:36 +0000 To: kde-devel Subject: what is the point of KAction::setDefaultShortcut() ? Message-Id: <200604302337.36684.kstars () 30doradus ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=114655550822749 Hello, In converting to the new KAction (which no longer allows for shortcuts in the ctor), I tried using 'action->setDefaultShortcut("Ctrl+X")', but none of the shortcuts worked. On a whim, I tried "setShortcut" instead of "setDefaultShortcut", and now it works. I understand that there are two types of shortcuts in KAction: Custom and Default (and there are "Global" variants of both of these). I had assumed that in the absence of a Custom shortcut, the Default would be used, but apparently this is not right. So what is the default for? thanks, Jason -- KStars: http://edu.kde.org/kstars Community Forums: http://kstars.30doradus.org >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<