]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Fixed issue that the filterbar and the menu state have not been synchronized (a not...
[dolphin.git] / src / dolphinview.cpp
index 90383348dc60d05977c4d43e65ac857e16de70a7..9b2286c8756953988f87f58d2a5f74b143b81db3 100644 (file)
@@ -116,7 +116,7 @@ DolphinView::DolphinView(DolphinMainWindow* mainWindow,
     m_filterBar->hide();
     connect(m_filterBar, SIGNAL(filterChanged(const QString&)),
            this, SLOT(changeNameFilter(const QString&)));
-    connect(m_filterBar, SIGNAL(closed()),
+    connect(m_filterBar, SIGNAL(closeRequest()),
             this, SLOT(closeFilterBar()));
 
     m_topLayout->addWidget(m_urlNavigator);
@@ -604,6 +604,8 @@ void DolphinView::loadDirectory(const KUrl& url)
 
     startDirLister(url);
     emit urlChanged(url);
+
+    m_statusBar->clear();
 }
 
 void DolphinView::triggerItem(const QModelIndex& index)
@@ -870,7 +872,7 @@ void DolphinView::createView()
     // delete current view
     QAbstractItemView* view = itemView();
     if (view != 0) {
-        m_topLayout->remove(view);
+        m_topLayout->removeWidget(view);
         view->close();
         view->deleteLater();
         m_iconsView = 0;