diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-06-20 10:11:52 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@digia.com> | 2013-06-20 11:31:43 +0300 |
commit | 698958c92dbed25129c6cb6c4e58de3ab965bba0 (patch) | |
tree | 09d9daa97437f75576355aba703dab51059c7fa2 | |
parent | 9b8aa933f41d1858608b1c16f35349b68520bdc8 (diff) | |
download | qt-creator-698958c92dbed25129c6cb6c4e58de3ab965bba0.tar.gz |
Fix build for Qt 4.8
Change-Id: Ie9d49ca8b03dc035ecea9ceae62dbc97423ca2e4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
-rw-r--r-- | plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp b/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp index 73bc92c229..27c5800ff5 100644 --- a/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp +++ b/plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp @@ -19,6 +19,7 @@ #include "qmldebug/qmlprofilereventtypes.h" #include "qmlprofiler/qmlprofilermodelmanager.h" +#include <QCoreApplication> #include <QDebug> namespace QmlProfilerExtended { @@ -264,9 +265,9 @@ QString labelForSGType(int t) { switch ((SceneGraphCategoryType)t) { case SceneGraphRenderThread: - return QGuiApplication::translate("SceneGraphTimelineModel", "Renderer Thread"); + return QCoreApplication::translate("SceneGraphTimelineModel", "Renderer Thread"); case SceneGraphGUIThread: - return QGuiApplication::translate("SceneGraphTimelineModel", "GUI Thread"); + return QCoreApplication::translate("SceneGraphTimelineModel", "GUI Thread"); default: return QString(); } } |