Commit 73671a0d authored by Laurent Montel's avatar Laurent Montel 😁

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

parent 0c95eeac
Pipeline #47742 failed with stage
in 25 minutes and 45 seconds
......@@ -108,11 +108,7 @@ Akonadi::Collection ImapTestBase::createCollectionChain(const QString &remoteId)
Akonadi::Collection collection = parent;
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList collections = remoteId.split(separator, QString::SkipEmptyParts);
#else
const QStringList collections = remoteId.split(separator, Qt::SkipEmptyParts);
#endif
Q_FOREACH (const QString &colId, collections) {
collection = Akonadi::Collection(id);
collection.setRemoteId(separator + colId);
......
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