Commit 96167b94 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

QString::SplitBehavior enum is removed in Qt 5.15

parent 8508f731
......@@ -39,7 +39,11 @@ UserPermissionModel::UserPermissionModel(KSambaShareData &shareData, QObject *pa
void UserPermissionModel::setupData()
{
QStringList acl = shareData.acl().split(QStringLiteral(","),
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QString::SkipEmptyParts);
#else
Qt::SkipEmptyParts);
#endif
QList<QString>::const_iterator itr;
for (itr = acl.constBegin(); itr != acl.constEnd(); ++itr) {
......
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