]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Ah, now it runs.
authorKevin Ottens <ervin@kde.org>
Wed, 22 Nov 2006 11:42:15 +0000 (11:42 +0000)
committerKevin Ottens <ervin@kde.org>
Wed, 22 Nov 2006 11:42:15 +0000 (11:42 +0000)
svn path=/trunk/playground/utils/dolphin/; revision=606922

src/dolphinview.cpp

index fb75f1c6728a397a19d3debaafa8e7113c8aeb11..94872064277c0d2fbe493376312d62aa84a53fa0 100644 (file)
@@ -763,8 +763,8 @@ void DolphinView::slotCompleted()
     m_fileCount = 0;
     m_folderCount = 0;
 
-    KFileItem* item = 0;
     while (it != end) {
+        KFileItem* item = *it;
         view->insertItem(item);
         if (item->isDir()) {
             ++m_folderCount;