]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
let the information sidebar react on selection changes
[dolphin.git] / src / dolphinmainwindow.cpp
index 9223dc19fae2e8e80afa8f953599b5f3894776f6..489a99327116801dc8b6b1866c6e210aef12550b 100644 (file)
@@ -1280,6 +1280,8 @@ void DolphinMainWindow::setupDockWidgets()
     addDockWidget(Qt::RightDockWidgetArea, infoDock);
     connect(this, SIGNAL(urlChanged(KUrl)),
             infoWidget, SLOT(setUrl(KUrl)));
+    connect(this, SIGNAL(selectionChanged(KFileItemList)),
+            infoWidget, SLOT(setSelection(KFileItemList)));
 
     // setup "Tree View"
     QDockWidget* treeViewDock = new QDockWidget(i18n("Folders"));