kossebau added a comment.
In D23695#525155 <https://phabricator.kde.org/D23695#525155>, @cullmann wrote: > thought not sure why a range based for doesn't work on the m_codesToSpecialKeys stuff with qAsConst. But I assume that has some reason and it is just testing code anyways. There the new code was motivated due to the use of both key & value of the m_codesToSpecialKeys map. REPOSITORY R39 KTextEditor BRANCH portawayfromforeachforitemconstructionestimation_autotests REVISION DETAIL https://phabricator.kde.org/D23695 To: kossebau, #kate, cullmann Cc: cullmann, kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann