Review Request 127211: Properly use static QMaps

Aleix Pol Gonzalez aleixpol at kde.org
Sun Feb 28 21:52:16 UTC 2016


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

Review request for Kate and KDE Frameworks.


Repository: ktexteditor


Description
-------

Only initialize them once.
Since they're not const, use ::value rather than ::operator[], because the latter will provide a default-constructed object and add it to the map.


Diffs
-----

  src/vimode/cmds.cpp 7804af4 

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


Testing
-------


Thanks,

Aleix Pol Gonzalez

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


More information about the Kde-frameworks-devel mailing list