MEONMedical / Log4Qt

Log4Qt - Logging for the Qt cross-platform application framework
Apache License 2.0
589 stars 236 forks source link

Use QString::midRef()/splitRef() where possible, remove some unused variables #21

Closed chehrlic closed 7 years ago

chehrlic commented 7 years ago

Avoid some useless QString creations by using QStringRef instead. Qt 5.3 is also supported (see code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/tools/qstring.h?h=5.3 line 395). Also remove some unused QStrings and use qDeleteAll() for lazyness