]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Return the url of the view instead of the url of the url navigator.
authorMatthias Fuchs <mat69@gmx.net>
Fri, 10 Jun 2011 22:09:21 +0000 (00:09 +0200)
committerMatthias Fuchs <mat69@gmx.net>
Fri, 10 Jun 2011 22:28:05 +0000 (00:28 +0200)
That way if a wrong protocol had been entered the currently watched directory will be returned.
BUG:274890
REVIEW:101580

src/dolphinviewcontainer.cpp

index 1042ece6335756347b1b796d8ab7478b5e5b5fab..67ea84d1b42a5e4f8e93ba05efd52d39399be5b9 100644 (file)
@@ -162,7 +162,7 @@ DolphinViewContainer::~DolphinViewContainer()
 
 KUrl DolphinViewContainer::url() const
 {
-    return m_urlNavigator->locationUrl();
+    return m_view->url();
 }
 
 void DolphinViewContainer::setActive(bool active)