From: David Faure Date: Mon, 9 Jun 2008 11:59:15 +0000 (+0000) Subject: Another fix for redirections: "Create New" was missing from the konqpopupmenu when... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/11bf9d8dbb25ce254135454761bd0f138f06a8a3?ds=inline Another fix for redirections: "Create New" was missing from the konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code) svn path=/trunk/KDE/kdebase/apps/; revision=818721 --- diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index dd0f33121..c566a4691 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -403,6 +403,7 @@ void DolphinPart::slotOpenContextMenu(const KFileItem& _item, const KUrl&) void DolphinPart::slotUrlChanged(const KUrl& url) { + KParts::ReadOnlyPart::setUrl(url); QString prettyUrl = url.pathOrUrl(); emit m_extension->setLocationBarUrl(prettyUrl); }