[Digikam-devel] extragear/graphics/digikam/imageplugins/superimpose
Gilles Caulier
caulier.gilles at gmail.com
Thu Jul 5 13:25:54 BST 2007
SVN commit 683880 by cgilles:
digiKam from trunk: complete KDE4 port of SuperImpose image plugin
CCMAIL: digikam-devel at kde.org
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.
More information about the Digikam-devel
mailing list