nibags added a comment.
`m_searchName` is a pointer to an attribute of a KateFileType object (which may be the string `translatedName` or `name`), but in some cases a new string is created. I added the boolean `m_bHasNewSearchName` that is true when a new QString is created for search. This is much simpler. Still, if you don't like it and prefer to use inline attributes, I can change it without problems =) 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