[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/imageplugins/superimpose
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2007-07-05 12:25:54
Message-ID: 1183638354.567676.10455.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 683880 by cgilles:

digiKam from trunk: complete KDE4 port of SuperImpose image plugin
CCMAIL: digikam-devel@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic