As far as i can see none of the modified .h files is actually public so
that shouldn't be a BC problem
Details
Details
Diff Detail
Diff Detail
- Repository
- R39 KTextEditor
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 17310 Build 17328: arc lint + arc unit
src/vimode/modes/modebase.cpp | ||
---|---|---|
333 | This is wrong, QRegExp is broken and lastIndexIn modifies the object even if the function is marked as const |
Comment Actions
I think this is ok to merge, I don't see the issue with the QRegExp. (I understand that it stores it result in mutable data in the object, but that patch didn't alter this, just avoids the copying of the regex before this happens, or do I misread the diff?)
src/vimode/modes/modebase.cpp | ||
---|---|---|
333 | Hmm, given that is a local var on the stack, I don't see an issue with this. |
Comment Actions
I also think it's fine. A next patch could convert the QRegExp to a QRegularExpression.
Comment Actions
Ok, i'll commit it then :)
src/vimode/modes/modebase.cpp | ||
---|---|---|
333 | right is a local var ^_^ i got confused by a similar-ish patch in qtbase where the qregexp was passed in. |