diff options
| author | Tobias Koenig <[email protected]> | 2007-10-01 08:00:48 +0000 |
|---|---|---|
| committer | Tobias Koenig <[email protected]> | 2007-10-01 08:00:48 +0000 |
| commit | 29a1b2642139907ca9c448138b6aa110b64c3a03 (patch) | |
| tree | f4bdec8b83b1f1d3b97630741a1b471d022aea70 /src/dolphinviewcontainer.cpp | |
| parent | fd805228ae8092dc51647354d3fb83bef4197eb0 (diff) | |
Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index a2902afd7..bd4acc2be 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -106,7 +106,7 @@ DolphinViewContainer::DolphinViewContainer(DolphinMainWindow* mainWindow, this, SLOT(updateStatusBar())); connect(m_dirLister, SIGNAL(percent(int)), this, SLOT(updateProgress(int))); - connect(m_dirLister, SIGNAL(deleteItem(KFileItem*)), + connect(m_dirLister, SIGNAL(deleteItem(const KFileItem&)), this, SLOT(updateStatusBar())); connect(m_dirLister, SIGNAL(completed()), this, SLOT(updateItemCount())); @@ -309,8 +309,8 @@ void DolphinViewContainer::updateItemCount() m_folderCount = 0; while (it != end) { - KFileItem* item = *it; - if (item->isDir()) { + const KFileItem item = *it; + if (item.isDir()) { ++m_folderCount; } else { ++m_fileCount; |
