]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/metadatawidget.cpp
reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applie...
[dolphin.git] / src / metadatawidget.cpp
index c8fe1e438d18f5483ed792e5898b3da2d5270965..5c510f088f7b450dc9444e4e4078a1314ab58607 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <klocale.h>
 
+#include <QtCore/QEvent>
 #include <QtGui/QLabel>
 #include <QtGui/QGridLayout>
 #include <QtGui/QTextEdit>
@@ -67,7 +68,7 @@ void MetaDataWidget::Private::loadComment(const QString& comment)
     editComment->blockSignals(true);
     if (comment.isEmpty()) {
         editComment->setFontItalic(true);
-        editComment->setText(i18n("Click to add comment..."));
+        editComment->setText(i18nc("@info:tooltip", "Click to add comment..."));
     } else {
         editComment->setFontItalic(false);
         editComment->setText(comment);
@@ -91,13 +92,13 @@ MetaDataWidget::MetaDataWidget(QWidget* parent) :
     QVBoxLayout* lay = new QVBoxLayout(this);
     lay->setMargin(0);
     QHBoxLayout* hbox = new QHBoxLayout;
-    hbox->addWidget(new QLabel(i18n("Rating:"), this));
+    hbox->addWidget(new QLabel(i18nc("@label:slider", "Rating:"), this));
     hbox->addStretch(1);
     hbox->addWidget(d->ratingWidget);
     lay->addLayout(hbox);
     lay->addWidget(d->editComment);
     hbox = new QHBoxLayout;
-    hbox->addWidget(new QLabel(i18n("Tags:"), this));
+    hbox->addWidget(new QLabel(i18nc("@label:textbox", "Tags:"), this));
     hbox->addWidget(d->tagWidget, 1);
     lay->addLayout(hbox);