┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-10-23 07:10:51 +0000
committerPeter Penz <[email protected]>2007-10-23 07:10:51 +0000
commit2a0ab25c1b7abc606f8cb1008b3b982de720fd47 (patch)
tree1229bfa1f215a068ade0059e9219f51ad730f876 /src/dolphinpart.cpp
parent712b9f33c6e5d6546253978cd0418eb7d5869037 (diff)
Fixed issue that within Konqueror changing the active column from the column-view is ignored. From the hosts point of view this has to be handled like an URL change.
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=728394
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index 31cde2931..3a76286e7 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -82,9 +82,10 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QStringLi
this, SLOT(slotOpenContextMenu(KFileItem, const KUrl&)));
connect(m_view, SIGNAL(selectionChanged(KFileItemList)),
m_extension, SIGNAL(selectionInfo(KFileItemList)));
-
connect(m_view, SIGNAL(requestItemInfo(KFileItem)),
this, SLOT(slotRequestItemInfo(KFileItem)));
+ connect(m_view, SIGNAL(urlChanged(const KUrl&)),
+ this, SLOT(slotUrlChanged(const KUrl&)));
createActions();
updateViewActions();
@@ -224,4 +225,14 @@ void DolphinPart::slotViewModeActionTriggered(QAction* action)
m_view->setMode(mode);
}
+void DolphinPart::slotUrlChanged(const KUrl& url)
+{
+ if (m_view->url() != url) {
+ // If the view URL is not equal to 'url', then an inner URL change has
+ // been done (e. g. by activating an existing column in the column view).
+ // From the hosts point of view this must be handled like changing the URL.
+ emit m_extension->openUrlRequest(url);
+ }
+}
+
#include "dolphinpart.moc"