Commit 80cf9009 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against qt5.15

parent e6518b9c
Pipeline #122926 passed with stage
in 53 seconds
......@@ -295,11 +295,7 @@ bool Serializer::deserializeClique(SKGraph * graph, const QString & size,
return false;
}
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList splitData = text.split(QStringLiteral(" "), QString::SkipEmptyParts);
#else
const QStringList splitData = text.split(QStringLiteral(" "), Qt::SkipEmptyParts);
#endif
QVector<int> data;
data.clear();
for (const QString &s : splitData) {
......@@ -327,11 +323,7 @@ bool Serializer::deserializeCage(SKGraph * graph, const QDomElement & e) {
return false;
}
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList cells = text.split(QStringLiteral(" "), QString::SkipEmptyParts);
#else
const QStringList cells = text.split(QStringLiteral(" "), Qt::SkipEmptyParts);
#endif
cage.clear();
for (const QString& s : cells) {
cage << s.toInt();
......
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