]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Remove useless code, replaced with slotRedirection.
authorDavid Faure <faure@kde.org>
Fri, 16 Jan 2009 18:47:40 +0000 (18:47 +0000)
committerDavid Faure <faure@kde.org>
Fri, 16 Jan 2009 18:47:40 +0000 (18:47 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=912124

src/dolphinpart.cpp
src/dolphinpart.h

index 7fd51f76a4b6eb24d83274bf139b2fac9c4ae26f..5d5a905b37025454d54f6ff6dda27cc06753f759 100644 (file)
@@ -102,8 +102,6 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL
             this, SLOT(slotSelectionChanged(KFileItemList)));
     connect(m_view, SIGNAL(requestItemInfo(KFileItem)),
             this, SLOT(slotRequestItemInfo(KFileItem)));
-    connect(m_view, SIGNAL(urlChanged(KUrl)),
-            this, SLOT(slotUrlChanged(KUrl)));
     connect(m_view, SIGNAL(requestUrlChange(KUrl)),
             this, SLOT(slotRequestUrlChange(KUrl)));
     connect(m_view, SIGNAL(modeChanged()),
@@ -417,12 +415,6 @@ void DolphinPart::slotOpenContextMenu(const KFileItem& _item, const KUrl&)
                                 actionGroups);
 }
 
-// ########### not sure this is still called... seems not.
-void DolphinPart::slotUrlChanged(const KUrl& newUrl)
-{
-    slotRedirection(url(), newUrl);
-}
-
 void DolphinPart::slotRedirection(const KUrl& oldUrl, const KUrl& newUrl)
 {
     //kDebug() << oldUrl << newUrl << "currentUrl=" << url();
index 04e343d956ce1fc54ee4657e7df413357ddec340..3203cb90fdcf73024b648376111182bcdc0764c2 100644 (file)
@@ -141,12 +141,6 @@ private Q_SLOTS:
      */
     void slotRequestUrlChange(const KUrl& url);
 
-    /**
-     * Informs the host that we are opening \a url (e.g. after a redirection).
-     * ########### not sure this is still called... seems not.
-     */
-    void slotUrlChanged(const KUrl& url);
-
     /**
      * Informs the host that we are opening \a url (e.g. after a redirection
      * coming from KDirLister).