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

List:       kde-commits
Subject:    playground/utils/filelight/src/part
From:       Andreas Hartmetz <ahartmetz () gmail ! com>
Date:       2009-10-04 0:35:24
Message-ID: 1254616524.337341.25088.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1031105 by ahartmetz:

saw dfaure's const iterator fix and fixed it even more

 M  +1 -1      remoteLister.cpp  


--- trunk/playground/utils/filelight/src/part/remoteLister.cpp #1031104:1031105
@@ -129,7 +129,7 @@
     //m_directory is set to the directory we should operate on
 
     const KFileItemList items = KDirLister::items();
-    for (KFileItemList::ConstIterator it = items.begin(), end = items.end(); it != end; ++it)
+    for (KFileItemList::ConstIterator it = items.constBegin(), end = items.constEnd(); it != end; ++it)
     {
         if (it->isDir())
             m_store->stores += new Store(it->url(), it->name(), m_store);
[prev in list] [next in list] [prev in thread] [next in thread] 

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