From fc77061ec0163e481cb81ecdb1ff03a93758c66d Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sat, 27 Jun 2009 10:42:47 +0000 Subject: [PATCH] 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 --- src/dolphinviewcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(). -- 2.47.3