┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-24 19:52:28 +0000
committerPeter Penz <[email protected]>2008-10-24 19:52:28 +0000
commitdc6bd8046f35993cae0f3659fd2420e18d0fe472 (patch)
tree2b7952ef3192a22b3cf31b0185463590d40486fd /src/dolphinview.cpp
parent6f49557ceb76311973a850e421d7e7d29eabf47b (diff)
Assure that no reloading is done if KDirLister emits a redirection, only change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis!
BUG: 155591 svn path=/trunk/KDE/kdebase/apps/; revision=875554
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 9d6038c2c..9e454ea71 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -126,7 +126,7 @@ DolphinView::DolphinView(QWidget* parent,
this, SLOT(clearHoverInformation()));
connect(m_dirLister, SIGNAL(redirection(KUrl, KUrl)),
- this, SLOT(slotRedirection(KUrl, KUrl)));
+ this, SIGNAL(redirection(KUrl, KUrl)));
connect(m_dirLister, SIGNAL(completed()),
this, SLOT(restoreCurrentItem()));
@@ -1027,13 +1027,6 @@ void DolphinView::slotDeleteFileFinished(KJob* job)
}
}
-void DolphinView::slotRedirection(const KUrl& oldUrl, const KUrl& newUrl)
-{
- if (oldUrl == m_controller->url()) {
- m_controller->setUrl(newUrl);
- }
-}
-
void DolphinView::slotRequestUrlChange(const KUrl& url)
{
emit requestUrlChange(url);