Review Request 123601: Fix ambiguous shortcuts error message in applications caused by duplicate entries in QList<QKeySequence>

Mladen Milinkovic maxrd2 at smoothware.net
Sun May 3 14:39:44 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123601/
-----------------------------------------------------------

Review request for KDE Frameworks.


Bugs: 343665
    https://bugs.kde.org/show_bug.cgi?id=343665


Repository: kxmlgui


Description
-------

After customizing shortcut with KShortcutsDialog it prepends Primary and Alternate QKeySequence to QList<QKeySequence> without removing old QKeySequences.
QList<QKeySequence> after awhile becomes a long list of duplicate QKeySequence and those cannot be removed without editing .rc file.
Pressing keyboard shortcuts in applications shows Ambiguous Shortcut error.


Diffs
-----

  src/kactioncollection.cpp 9c45725 
  src/kxmlguifactory.cpp a4305a4 

Diff: https://git.reviewboard.kde.org/r/123601/diff/


Testing
-------

Tested most of KDE applications and it solves the issue, keyboard shortcuts work just fine and annoying error message is no more.


Thanks,

Mladen Milinkovic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150503/5495d649/attachment.html>


More information about the Kde-frameworks-devel mailing list