From: David Faure Date: Fri, 16 Jan 2009 18:47:40 +0000 (+0000) Subject: Remove useless code, replaced with slotRedirection. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/9e6b85cd6e31dd7f530d68b744af1f1b1e2f8968 Remove useless code, replaced with slotRedirection. svn path=/trunk/KDE/kdebase/apps/; revision=912124 --- diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 7fd51f76a..5d5a905b3 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -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(); diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 04e343d95..3203cb90f 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -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).