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
This commit is contained in:
David Faure 2008-06-09 11:59:15 +00:00
parent 95f0c66c09
commit df49cb9b12

View file

@ -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);
}