From 4fdc3bad9c1b2f168466a296f412d904e3315dc9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 6 Jan 2010 16:56:01 +0000 Subject: Fixed issue that Ctrl+A sometimes did not result in an update of the Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago. svn path=/trunk/KDE/kdebase/apps/; revision=1070740 --- src/panels/information/informationpanel.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/panels/information/informationpanel.cpp') diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp index 05b1f89de..3d2163baa 100644 --- a/src/panels/information/informationpanel.cpp +++ b/src/panels/information/informationpanel.cpp @@ -171,9 +171,8 @@ void InformationPanel::showItemInfo() } else { // no item is hovered and no selection has been done: provide // an item for the directory represented by m_shownUrl - m_fileItem = KFileItem(KFileItem::Unknown, KFileItem::Unknown, m_shownUrl); - m_fileItem.refresh(); - item = m_fileItem; + item = KFileItem(KFileItem::Unknown, KFileItem::Unknown, m_shownUrl); + item.refresh(); } m_content->showItem(item); -- cgit v1.3