cullmann added a comment.
I must confess the m_searchName deletion condition seems for me too be overly complex. Given QString copying is cheap, can't we just always set that and store it inline as value? REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D24210 To: nibags, #ktexteditor, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann