Commit 732fc54b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some qt6 compile error.

Still QJValue + QVariant qt6 compile error
parent 99ef8f53
Pipeline #169630 passed with stage
in 2 minutes and 25 seconds
......@@ -12,7 +12,7 @@
#include <KPkPass/Pass>
#include <KArchive/KZip>
#include <KZip>
#include <QDebug>
#include <QJsonArray>
......@@ -192,7 +192,7 @@ QVector<QString> File::passes() const
if (!subEntry.endsWith(QLatin1String(".pkpass"))) {
continue;
}
passIds.push_back(entry + QLatin1Char('/') + subEntry.leftRef(subEntry.size() - 7));
passIds.push_back(entry + QLatin1Char('/') + QStringView(subEntry).left(subEntry.size() - 7));
}
}
return passIds;
......
......@@ -32,6 +32,7 @@
#include <QMetaProperty>
#include <QUrl>
#include <QTimeZone>
#include <QSequentialIterable>
#include <cassert>
#include <cmath>
......
Supports Markdown
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