]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Update the KPart host's status bar info when selection changes.
authorSimon Paul St James <kdedevel@etotheipiplusone.com>
Mon, 19 Jan 2009 19:11:38 +0000 (19:11 +0000)
committerSimon Paul St James <kdedevel@etotheipiplusone.com>
Mon, 19 Jan 2009 19:11:38 +0000 (19:11 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=913713

src/dolphinpart.cpp

index 5d5a905b37025454d54f6ff6dda27cc06753f759..529d4d42309fb305cb228715bd7609c59fa8eb11 100644 (file)
@@ -115,7 +115,8 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL
             this, SLOT(updateStatusBar()));
     connect(m_dirLister, SIGNAL(clear()),
             this, SLOT(updateStatusBar()));
-
+    connect(m_view,  SIGNAL(selectionChanged(const KFileItemList)),
+            this, SLOT(updateStatusBar()));
 
     m_actionHandler = new DolphinViewActionHandler(actionCollection(), this);
     m_actionHandler->setCurrentView(m_view);