┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-06-27 10:42:47 +0000
committerFrank Reininghaus <[email protected]>2009-06-27 10:42:47 +0000
commitfc77061ec0163e481cb81ecdb1ff03a93758c66d (patch)
tree2345e0dd331ce91bcf2c5fd2ff186f2d40a7fddc
parent18d48e592467a98e67924ce4ce3a8fe2a33604c6 (diff)
Swap two lines in DolphinViewContainer::setUrl. Up to now, the "if
(...)" check was more or less equivalent to "if (false)" here ;-) I've verified that the "Create New..." menu is still enabled correctly when switching columns in Columns view, which is what the "if" check was added for in the first place. svn path=/trunk/KDE/kdebase/apps/; revision=988119
-rw-r--r--src/dolphinviewcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index cffffd70b..d8f90f357 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -188,8 +188,8 @@ DolphinViewContainer::~DolphinViewContainer()
void DolphinViewContainer::setUrl(const KUrl& newUrl)
{
- m_urlNavigator->setUrl(newUrl);
if (newUrl != m_urlNavigator->url()) {
+ m_urlNavigator->setUrl(newUrl);
// Temporary disable the 'File'->'Create New...' menu until
// the write permissions can be checked in a fast way at
// DolphinViewContainer::slotDirListerCompleted().