SVN commit 683880 by cgilles:
digiKam from trunk: complete KDE4 port of SuperImpose image plugin
CCMAIL:
[hidden email]
M +3 -3 dirselectwidget.cpp
--- trunk/extragear/graphics/digikam/imageplugins/superimpose/dirselectwidget.cpp #683879:683880
@@ -127,8 +127,8 @@
QString currentPath = QDir::cleanPath(currentUrl.path());
currentPath = currentPath.mid( d->m_rootUrl.path().length() );
d->m_pendingPath.clear();
- d->m_handled = QString("");
- d->m_pendingPath = QStringList::split( "/", currentPath, true );
+ d->m_handled = QString("");
+ d->m_pendingPath = currentPath.split( "/", QString::KeepEmptyParts);
if ( !d->m_pendingPath[0].isEmpty() )
d->m_pendingPath.prepend( "" ); // ensure we open the root first.
@@ -152,7 +152,7 @@
d->m_item = addBranch( rootUrl, rootUrl.fileName() );
setDirOnlyMode( d->m_item, true );
currentPath = currentPath.mid( root.length() );
- d->m_pendingPath = QStringList::split( "/", currentPath, true );
+ d->m_pendingPath = currentPath.split( "/", QString::KeepEmptyParts);
if ( !d->m_pendingPath[0].isEmpty() )
d->m_pendingPath.prepend( "" ); // ensure we open the root first.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel