From 698958c92dbed25129c6cb6c4e58de3ab965bba0 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 20 Jun 2013 10:11:52 +0200 Subject: Fix build for Qt 4.8 Change-Id: Ie9d49ca8b03dc035ecea9ceae62dbc97423ca2e4 Reviewed-by: Eike Ziller Reviewed-by: Christiaan Janssen --- plugins/qmlprofilerextended/scenegraphtimelinemodel.cpp | 5 +++-- 1 file 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 #include 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(); } } -- cgit v1.2.3