From df557df2e02c9c1661cf09b1fdd8be2aaf877401 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Sat, 11 Jun 2011 00:09:21 +0200 Subject: 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 --- src/dolphinviewcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinviewcontainer.cpp') 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) -- cgit v1.3