D7196: Fix accepting dialogs with ctrl+return when buttons are renamed
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Tue Aug 8 01:54:05 UTC 2017
apol created this revision.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
QAbstractButton::setText will call setShortcut(mnemonic), making this
little hack unusable.
This patch puts the shortcut into a separate object.
TEST PLAN
Improved the test to reproduce the issue I had
Now we can use it with KDE Connect send reply dialogs
REPOSITORY
R252 Framework Integration
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D7196
AFFECTED FILES
src/kstyle/kstyle.cpp
tests/kstyletest.cpp
To: apol, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170808/f5b05779/attachment.html>
More information about the Kde-frameworks-devel
mailing list