Re: Whence the accelerators?

Matthew Woehlke <[email protected]>
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <[email protected]>
On 2017-05-05 04:17, Kevin Funk wrote:
> On Thursday, 4 May 2017 21:40:00 CEST Matthew Woehlke wrote:
>> In KDevelop 4.x, I got used to being able to right-click a project and
>> hit 'b' to quickly build that project.
>>
>> In KDevelop 5.1.0, this doesn't work; in fact, the project context menu
>> doesn't appear to have *any* accelerators. Did something happen to them,
>> or have I turned them off somehow?
> 
> This was a KMenu (from kdelibs) feature [1] -- which is deprecated nowadays. 
> During the kdelibs (Qt4) -> KF5 (Qt5) transition we ported all uses of KMenu 
> to QMenu, which doesn't have this feature.
> 
> [1] See:
>   https://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/
> classKMenu.html#a1c4c4b910df899d814e511e357283bcd
> 
> You'd need to port KMenu's accelerator feature to QMenu to fix.

Um... is there a reason that accelerators can't be "hard-coded"? (I
assume this is how most of the menus still have them?)

-- 
Matthew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.