]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Don't trigger a slotDirListerCompleted() when the directory lister has been cancelled...
authorPeter Penz <peter.penz19@gmail.com>
Sun, 9 Jan 2011 15:14:29 +0000 (15:14 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 9 Jan 2011 15:14:29 +0000 (15:14 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1213203

src/views/dolphinview.cpp

index f2340fa8924c1d4bf809d5c82b9bc426e1a0efeb..ae124c735432afa869ebec755fe54163e0a6f976 100644 (file)
@@ -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<QPair<KFileItem,KFileItem>>&)),
             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<QPair<KFileItem,KFileItem>>&)),
                this, SLOT(slotRefreshItems()));