// first subdir can be empty, if m_dirLister->url().path() does not end with '/'
// this happens if baseUrl is not root but a home directory, see FoldersPanel,
// so using QString::SkipEmptyParts
- const QStringList subDirs = url.path().mid(pos).split(QDir::separator(), QString::SkipEmptyParts);
+ const QStringList subDirs = url.path().mid(pos).split(QDir::separator(), Qt::SkipEmptyParts);
for (int i = 0; i < subDirs.count() - 1; ++i) {
QString path = urlToExpand.path();
if (!path.endsWith(QLatin1Char('/'))) {
// settings here since it affects what will be matched.
KConfig config(("kio_" + m_currentURL.scheme() + "rc").toLatin1());
- QStringList partList = m_currentURL.host().split('.', QString::SkipEmptyParts);
+ QStringList partList = m_currentURL.host().split('.', Qt::SkipEmptyParts);
if (!partList.isEmpty()) {
partList.erase(partList.begin());