Commit 3ae434f6 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

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

NO_CHANGELOG
parent efa0bd2a
......@@ -146,11 +146,7 @@ void Security::slotReadyReadStandardOutput()
} else {
key.secret = true;
}
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QStringList line = data.split(QLatin1Char(':'), QString::KeepEmptyParts);
#else
QStringList line = data.split(QLatin1Char(':'), Qt::KeepEmptyParts);
#endif
key.id = line[4];
QString shortId = key.id.right(8);
QString trustStr = line[1];
......
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