diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-09-30 13:11:39 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-09-30 13:11:39 (GMT) |
commit | 7c33e0f95789af1f6c091db89581f8a26b10682d (patch) | |
tree | cb8faa2ab6ce19c85a8c0c90dc852db08375868e /src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp | |
parent | da935e9df4c63490a7d2a716236f1e781c2d75a6 (diff) | |
parent | c3ef2d3a6d9a6e35b05cbd8f370630d5dd85415e (diff) | |
download | Qt-7c33e0f95789af1f6c091db89581f8a26b10682d.zip Qt-7c33e0f95789af1f6c091db89581f8a26b10682d.tar.gz Qt-7c33e0f95789af1f6c091db89581f8a26b10682d.tar.bz2 |
Merge commit 'origin/4.6' into mmfphonon
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp b/src/scripttools/debugging/qscriptdebuggerlocalsmodel.cpp index 15d43f4..9caefce 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(); |