┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDawit Alemayehu <[email protected]>2012-04-17 19:56:34 -0400
committerDawit Alemayehu <[email protected]>2012-04-17 19:57:12 -0400
commit47d7cdffdd2d2c04067a5088eaeff67add53dde3 (patch)
treed79e513111c2c85422f07c114b74cf9de43ddd30 /src
parent7afd2f0ae10f1af594cb83f2ff34161baccf67cc (diff)
Fixed the signal connection that emits completed in Dolphin's KPart
Diffstat (limited to 'src')
-rw-r--r--src/dolphinpart.cpp8
-rw-r--r--src/dolphinpart.h1
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);
/**