diff options
| author | Dawit Alemayehu <[email protected]> | 2012-04-17 19:56:34 -0400 |
|---|---|---|
| committer | Dawit Alemayehu <[email protected]> | 2012-04-17 19:57:12 -0400 |
| commit | 47d7cdffdd2d2c04067a5088eaeff67add53dde3 (patch) | |
| tree | d79e513111c2c85422f07c114b74cf9de43ddd30 | |
| parent | 7afd2f0ae10f1af594cb83f2ff34161baccf67cc (diff) | |
Fixed the signal connection that emits completed in Dolphin's KPart
| -rw-r--r-- | src/dolphinpart.cpp | 8 | ||||
| -rw-r--r-- | src/dolphinpart.h | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 70d35740f..b3b7cd044 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -69,7 +69,7 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL m_view->setTabsForFilesEnabled(true); setWidget(m_view); - connect(m_view, SIGNAL(finishedDirLoading(KUrl)), this, SLOT(slotCompleted(KUrl))); + connect(m_view, SIGNAL(directoryLoadingCompleted()), this, SIGNAL(completed())); connect(m_view, SIGNAL(directoryLoadingProgress(int)), this, SLOT(updateProgress(int))); connect(m_view, SIGNAL(errorMessage(QString)), this, SLOT(slotErrorMessage(QString))); @@ -299,12 +299,6 @@ bool DolphinPart::openUrl(const KUrl& url) return true; } -void DolphinPart::slotCompleted(const KUrl& url) -{ - Q_UNUSED(url) - emit completed(); -} - void DolphinPart::slotMessage(const QString& msg) { emit setStatusBarText(msg); diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 7b37fd823..0a8ce07bd 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -117,7 +117,6 @@ Q_SIGNALS: void aboutToOpenURL(); private Q_SLOTS: - void slotCompleted(const KUrl& url); void slotMessage(const QString& msg); void slotErrorMessage(const QString& msg); /** |
