]> cloud.milkyroute.net Git - dolphin.git/commitdiff
the configuration menu should be shown also for multiple selections
authorPeter Penz <peter.penz19@gmail.com>
Mon, 19 Oct 2009 19:52:25 +0000 (19:52 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Mon, 19 Oct 2009 19:52:25 +0000 (19:52 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1037684

src/panels/information/informationpanelcontent.cpp

index b47ee78400b4df533ef1edf9d408928e410ab1ea..854af58ef166cb69608a093c7426cdecf6371daf 100644 (file)
@@ -279,11 +279,6 @@ bool InformationPanelContent::eventFilter(QObject* obj, QEvent* event)
 
 void InformationPanelContent::configureSettings()
 {
-    if (m_item.isNull() ||
-        !m_item.nepomukUri().isValid()) {
-        return;
-    }
-
     KMenu popup(this);
 
     QAction* previewAction = popup.addAction(i18nc("@action:inmenu", "Preview"));
@@ -311,7 +306,9 @@ void InformationPanelContent::configureSettings()
         dialog.exec();
     }
 
-    showItem(m_item);
+    if (!m_item.isNull() && m_item.nepomukUri().isValid()) {
+        showItem(m_item);
+    }
 }
 
 void InformationPanelContent::showIcon(const KFileItem& item)