QRegEx seams like a bit much to check for a \n or \r . so lets use a static const QChar instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- R232 AtCore
- Branch
- noRegEx
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 12886 Build 12904: arc lint + arc unit
src/widgets/logwidget.h | ||
---|---|---|
85–86 ↗ | (On Diff #59094) | please declare static class variables in a unamed namespace in the cpp file: namespace { constexpr char newLine = '\n'; constexpr char return = '\r'; } also, use constexpr for compile time constants. |