summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-30 13:11:39 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-30 13:11:39 (GMT)
commit7c33e0f95789af1f6c091db89581f8a26b10682d (patch)
treecb8faa2ab6ce19c85a8c0c90dc852db08375868e /src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
parentda935e9df4c63490a7d2a716236f1e781c2d75a6 (diff)
parentc3ef2d3a6d9a6e35b05cbd8f370630d5dd85415e (diff)
downloadQt-7c33e0f95789af1f6c091db89581f8a26b10682d.zip
Qt-7c33e0f95789af1f6c091db89581f8a26b10682d.tar.gz
Qt-7c33e0f95789af1f6c091db89581f8a26b10682d.tar.bz2
Merge commit 'origin/4.6' 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();
}