From ac51281676aa5a42780eba1e3b2d5fbbdfe8bff7 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 9 Jan 2011 15:14:29 +0000 Subject: [PATCH] Don't trigger a slotDirListerCompleted() when the directory lister has been cancelled. Beside leading to a crash for the unit tests this is semantically wrong. svn path=/trunk/KDE/kdebase/apps/; revision=1213203 --- src/views/dolphinview.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index f2340fa89..ae124c735 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1346,7 +1346,6 @@ void DolphinView::connectViewAccessor() connect(dirLister, SIGNAL(redirection(KUrl,KUrl)), this, SLOT(slotRedirection(KUrl,KUrl))); connect(dirLister, SIGNAL(started(KUrl)), this, SLOT(slotDirListerStarted(KUrl))); connect(dirLister, SIGNAL(completed()), this, SLOT(slotDirListerCompleted())); - connect(dirLister, SIGNAL(canceled()), this, SLOT(slotDirListerCompleted())); connect(dirLister, SIGNAL(refreshItems(const QList>&)), this, SLOT(slotRefreshItems())); @@ -1369,7 +1368,6 @@ void DolphinView::disconnectViewAccessor() disconnect(dirLister, SIGNAL(redirection(KUrl,KUrl)), this, SLOT(slotRedirection(KUrl,KUrl))); disconnect(dirLister, SIGNAL(started(KUrl)), this, SLOT(slotDirListerStarted(KUrl))); disconnect(dirLister, SIGNAL(completed()), this, SLOT(slotDirListerCompleted())); - disconnect(dirLister, SIGNAL(canceled()), this, SLOT(slotDirListerCompleted())); disconnect(dirLister, SIGNAL(refreshItems(const QList>&)), this, SLOT(slotRefreshItems())); -- 2.47.3