summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 15:43:02 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 15:43:02 +0200
commit75666d254304746ead69892e92fa4ab39d219df1 (patch)
treeceb744bbe6260c551aaf0fd2fc5a16aa5fd52ddb /src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp
parentf6a6e30eb16616b90d90fd6e20f9d840da41b9d1 (diff)
downloadqt4-tools-75666d254304746ead69892e92fa4ab39d219df1.tar.gz
Fix tr-Errors/remove QObject::tr(), mainly in ScriptTools
Note: Those messages are to be translated in Qt 4.6 for the first time. Reviewed-by: Kent Hansen <khansen@trolltech.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp b/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp
index 15d43f4822..9caefcefee 100644
--- a/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp
+++ b/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp
@@ -53,6 +53,7 @@
#include "private/qabstractitemmodel_p.h"
#include <QtCore/qdebug.h>
+#include <QtCore/qcoreapplication.h>
#include <QtGui/qbrush.h>
#include <QtGui/qfont.h>
@@ -868,9 +869,9 @@ QVariant QScriptDebuggerLocalsModel::headerData(int section, Qt::Orientation ori
if (orient == Qt::Horizontal) {
if (role == Qt::DisplayRole) {
if (section == 0)
- return QObject::tr("Name");
+ return QCoreApplication::translate("QScriptDebuggerLocalsModel", "Name");
else if (section == 1)
- return QObject::tr("Value");
+ return QCoreApplication::translate("QScriptDebuggerLocalsModel", "Value");
}
}
return QVariant();