From: Matthias Fuchs Date: Fri, 10 Jun 2011 22:09:21 +0000 (+0200) Subject: Return the url of the view instead of the url of the url navigator. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/df557df2e02c9c1661cf09b1fdd8be2aaf877401 Return the url of the view instead of the url of the url navigator. That way if a wrong protocol had been entered the currently watched directory will be returned. BUG:274890 REVIEW:101580 --- diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 1042ece63..67ea84d1b 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -162,7 +162,7 @@ DolphinViewContainer::~DolphinViewContainer() KUrl DolphinViewContainer::url() const { - return m_urlNavigator->locationUrl(); + return m_view->url(); } void DolphinViewContainer::setActive(bool active)