From 0c056817089182aba8221771557683f921d0fc91 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 22 Apr 2007 21:27:40 +0000 Subject: reactivated info sidebar again and temporary removed the code which resets the URL after starting Dolphin svn path=/trunk/KDE/kdebase/apps/; revision=656979 --- src/infosidebarpage.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/infosidebarpage.cpp') diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 47e350ab0..e4ca55b47 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -129,10 +129,16 @@ void InfoSidebarPage::setUrl(const KUrl& url) void InfoSidebarPage::setSelection(const KFileItemList& selection) { - cancelRequest(); + // TODO: deactivated the following code, as it has side effects. To + // reproduce start Dolphin and open a folder -> the URL navigator gets + // reset. First guess: it seems that a setUrl signal is emitted + // by the following code + + Q_UNUSED(selection); + /*cancelRequest(); m_currentSelection = selection; m_multipleSelection = (m_currentSelection.size() > 1); - showItemInfo(); + showItemInfo();*/ } void InfoSidebarPage::requestDelayedItemInfo(const KUrl& url) -- cgit v1.3