summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-09-30 15:52:24 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-09-30 15:52:24 (GMT)
commitbadcaa75b4a5e5dfbb85f5abf856abcfcfa20533 (patch)
tree70df9d393d3b6946178378560834239c81fdabf0 /src/scripttools/debugging/qscriptdebuggerstackmodel.cpp
parent86b4c125372f02c21be81fff376817852c28afa9 (diff)
parent2e16dff13d260e8ba07534b36ac635c9e625e442 (diff)
downloadQt-badcaa75b4a5e5dfbb85f5abf856abcfcfa20533.zip
Qt-badcaa75b4a5e5dfbb85f5abf856abcfcfa20533.tar.gz
Qt-badcaa75b4a5e5dfbb85f5abf856abcfcfa20533.tar.bz2
Merge branch '4.6'
Conflicts: src/corelib/io/qdatastream.h
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();
}