diff options
| author | Peter Penz <[email protected]> | 2011-01-09 15:14:29 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-01-09 15:14:29 +0000 |
| commit | ac51281676aa5a42780eba1e3b2d5fbbdfe8bff7 (patch) | |
| tree | cfec6cdc6791bab19c87992708a0158fe01a99eb /src | |
| parent | a48679b36b876815fccab3ab8559734f29372907 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/views/dolphinview.cpp | 2 |
1 files changed, 0 insertions, 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<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())); |
