┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-06-04 06:05:45 +0000
committerPeter Penz <[email protected]>2009-06-04 06:05:45 +0000
commitc5d3ac53832c88fcdcd6a9f101ddbf6b80bf62d1 (patch)
tree094aff45489a81b03d422fba20d1de3b9c96c80c /src/dolphinview.cpp
parent0cd575231512fda1c1db02404e2825c55e4fc62b (diff)
Only reset the current URL, if the element is shown in the current view.
This fixes the issue that when going back the last visited directory is not marked. BUG: 192811 svn path=/trunk/KDE/kdebase/apps/; revision=977410
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 5cea1bde0..cb846fe42 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -67,8 +67,6 @@
#include "viewproperties.h"
#include "zoomlevelinfo.h"
-#include <kdebug.h>
-
/**
* Helper function for sorting items with qSort() in
* DolphinView::renameSelectedItems().
@@ -1204,8 +1202,8 @@ void DolphinView::slotDirListerCompleted()
if (clearSelection) {
view->clearSelection();
}
+ m_currentItemUrl.clear();
}
- m_currentItemUrl.clear();
}
if (!m_newFileNames.isEmpty()) {