summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-10-01 16:38:16 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-10-01 16:38:16 (GMT)
commitb828964113b157d36f8140c7a6fa649676af026a (patch)
treefb1e7f882f460039b2f3c3a5656a59328426f38b /src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
parent1596c59964f26a44a80bd5b41d519b497cdc6292 (diff)
parent25f82aa1650c018a4dccde972642310d6ef4febc (diff)
downloadQt-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.cpp7
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();
}