diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-01 16:38:16 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-01 16:38:16 (GMT) |
commit | b828964113b157d36f8140c7a6fa649676af026a (patch) | |
tree | fb1e7f882f460039b2f3c3a5656a59328426f38b /src/scripttools/debugging/qscriptdebuggerstackmodel.cpp | |
parent | 1596c59964f26a44a80bd5b41d519b497cdc6292 (diff) | |
parent | 25f82aa1650c018a4dccde972642310d6ef4febc (diff) | |
download | Qt-b828964113b157d36f8140c7a6fa649676af026a.zip Qt-b828964113b157d36f8140c7a6fa649676af026a.tar.gz Qt-b828964113b157d36f8140c7a6fa649676af026a.tar.bz2 |
Merge branch 'mmfphonon' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into mmfphonon
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerstackmodel.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerstackmodel.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp b/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp index a63ea73..2d56e17 100644 --- a/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp +++ b/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp @@ -45,6 +45,7 @@ #include <QtScript/qscriptcontextinfo.h> #include <QtCore/qfileinfo.h> +#include <QtCore/qcoreapplication.h> QT_BEGIN_NAMESPACE @@ -157,11 +158,11 @@ QVariant QScriptDebuggerStackModel::headerData(int section, Qt::Orientation orie return QVariant(); if (role == Qt::DisplayRole) { if (section == 0) - return QObject::tr("Level"); + return QCoreApplication::translate("QScriptDebuggerStackModel", "Level"); else if (section == 1) - return QObject::tr("Name"); + return QCoreApplication::translate("QScriptDebuggerStackModel", "Name"); else if (section == 2) - return QObject::tr("Location"); + return QCoreApplication::translate("QScriptDebuggerStackModel", "Location"); } return QVariant(); } |