]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
KUIT adaptions
[dolphin.git] / src / dolphinview.cpp
index acd51d7d7bc50c556ef1cd52872218b0af8cd7f6..5a1de5217e1c0702e42d4ce281c3b18a3dee7f66 100644 (file)
@@ -89,6 +89,8 @@ DolphinView::DolphinView(QWidget* parent,
 
     m_controller = new DolphinController(this);
     m_controller->setUrl(url);
+    connect(m_controller, SIGNAL(urlChanged(const KUrl&)),
+            this, SIGNAL(urlChanged(const KUrl&)));
     connect(m_controller, SIGNAL(requestContextMenu(const QPoint&)),
             this, SLOT(openContextMenu(const QPoint&)));
     connect(m_controller, SIGNAL(urlsDropped(const KUrl::List&, const QModelIndex&, QWidget*)),
@@ -415,6 +417,7 @@ void DolphinView::reload()
 void DolphinView::refresh()
 {
     createView();
+    applyViewProperties(m_controller->url());
     reload();
 }