D7391: Replace KStandardAction::PasteText with KStandardAction::Paste
Elvis Angelaccio
noreply at phabricator.kde.org
Fri Aug 18 15:35:26 UTC 2017
elvisangelaccio created this revision.
Restricted Application added subscribers: Frameworks, kwrite-devel.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
The PasteText standard action creates a KPasteTextAction rather than
a simple QAction. KPasteTextAction is a very old class that has been not
functional for years. Since this action is already used as if it actually
were a QAction, just use KStandardAction::Paste which is what everyone
else does.
See also https://phabricator.kde.org/D7294
TEST PLAN
Paste action still works in kate.
REPOSITORY
R39 KTextEditor
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D7391
AFFECTED FILES
src/view/kateview.cpp
To: elvisangelaccio, #ktexteditor
Cc: kwrite-devel, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170818/3afdfbee/attachment.html>
More information about the Kde-frameworks-devel
mailing list