From 6e3e08e33ce46101542d2dadf2b363d0b823a647 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 21 Jun 2009 08:16:03 +0000 Subject: Simplify how Nepomuk comments can be edited by the user: - don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget - automatically save changes, no explicit confirmation required svn path=/trunk/KDE/kdebase/apps/; revision=984592 --- src/panels/information/informationpanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/panels/information/informationpanel.cpp') diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp index a49d85169..2150c6465 100644 --- a/src/panels/information/informationpanel.cpp +++ b/src/panels/information/informationpanel.cpp @@ -302,7 +302,7 @@ void InformationPanel::contextMenuEvent(QContextMenuEvent* event) } if (!skip) { - const QString label = key; // TODO + const QString label = tunedLabel(key); // TODO QAction* action = new QAction(label, &popup); action->setCheckable(true); action->setChecked(settings.readEntry(key, true)); @@ -587,7 +587,7 @@ void InformationPanel::showMetaInfo() // instead of it.value().toString() // TODO #2: using tunedLabel() is a workaround for KDE 4.3 until // we get translated labels - m_metaTextLabel->add(tunedLabel(label), it.value().toString()); + m_metaTextLabel->add(tunedLabel(label) + ':', it.value().toString()); } ++it; } -- cgit v1.3