]> cloud.milkyroute.net Git - dolphin.git/commitdiff
forward requestItemInfo signal
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Sat, 24 Jan 2015 23:42:43 +0000 (00:42 +0100)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 28 Jan 2015 14:10:28 +0000 (15:10 +0100)
src/dolphinmainwindow.cpp
src/dolphinmainwindow.h

index 2dc61c588f569b5ba3e1b9f32f030678ca227ae0..a0512768770dade8a0d4c7c993bb954bfa7ae287 100644 (file)
@@ -263,11 +263,6 @@ void DolphinMainWindow::slotSelectionChanged(const KFileItemList& selection)
     emit selectionChanged(selection);
 }
 
-void DolphinMainWindow::slotRequestItemInfo(const KFileItem& item)
-{
-    emit requestItemInfo(item);
-}
-
 void DolphinMainWindow::updateHistory()
 {
     const KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
@@ -1423,7 +1418,7 @@ void DolphinMainWindow::connectViewSignals(DolphinViewContainer* container)
     connect(view, &DolphinView::selectionChanged,
             this, &DolphinMainWindow::slotSelectionChanged);
     connect(view, &DolphinView::requestItemInfo,
-            this, &DolphinMainWindow::slotRequestItemInfo);
+            this, &DolphinMainWindow::requestItemInfo);
     connect(view, &DolphinView::tabRequested,
             this, &DolphinMainWindow::openNewTab);
     connect(view, &DolphinView::requestContextMenu,
index 85383a309c969b213a9f1f01bbcce850f7ec5a26..8c8d42ee41f78d1a2be23c22bbbecc06a3ef83e9 100644 (file)
@@ -312,9 +312,6 @@ private slots:
      */
     void slotSelectionChanged(const KFileItemList& selection);
 
-    /** Emits the signal requestItemInfo(). */
-    void slotRequestItemInfo(const KFileItem&);
-
     /**
      * Updates the state of the 'Back' and 'Forward' menu
      * actions corresponding to the current history.