Commit 31e86153 authored by Patrick José Pereira's avatar Patrick José Pereira

LogCompressor: Do not use deprecated QString enum with Qt 5.15.0

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 9df313d3
......@@ -55,7 +55,11 @@ void LogCompressor::run()
QString outFileName;
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QStringList parts = QFileInfo(infile.fileName()).absoluteFilePath().split(".", QString::SkipEmptyParts);
#else
QStringList parts = QFileInfo(infile.fileName()).absoluteFilePath().split(".", Qt::SkipEmptyParts);
#endif
parts.replace(0, parts.first() + "_compressed");
parts.replace(parts.size()-1, "txt");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment