Commit ffa7b1f3 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile against qt5.15. SkipEmptyParts is part of Qt::.

parent 96741c42
......@@ -147,7 +147,11 @@ void KDirSelectDialog::Private::slotMkdir()
bool exists = false;
QUrl folderurl(m_parent->url());
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList dirs = directory.split(QLatin1Char('/'), QString::SkipEmptyParts);
#else
const QStringList dirs = directory.split(QLatin1Char('/'), Qt::SkipEmptyParts);
#endif
QStringList::ConstIterator it = dirs.begin();
for (; it != dirs.end(); ++it) {
......
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