Commit cbe4f1a5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

QString::split(..., Qt::SplitBehavior, ...) is already in Qt 5.14

parent 2ef84169
......@@ -116,11 +116,7 @@ void JournaldNetworkAnalyzer::httpFinished()
}
} else {
QString identifiersString = QString::fromUtf8(data);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QStringList identifiersList = identifiersString.split(QChar::fromLatin1('\n'), QString::SkipEmptyParts);
#else
QStringList identifiersList = identifiersString.split(QChar::fromLatin1('\n'), Qt::SkipEmptyParts);
#endif
switch (mCurrentRequest) {
case RequestType::SyslogIds:
mSyslogIdentifiers = identifiersList;
......
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