┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanel.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-06-21 08:16:03 +0000
committerPeter Penz <[email protected]>2009-06-21 08:16:03 +0000
commit6e3e08e33ce46101542d2dadf2b363d0b823a647 (patch)
tree069634917fd4180afc785961ee4563cf0c046f21 /src/panels/information/informationpanel.cpp
parent356c81cbf872febaf0cccb7438ccecaec0788f77 (diff)
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
Diffstat (limited to 'src/panels/information/informationpanel.cpp')
-rw-r--r--src/panels/information/informationpanel.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}