forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
#include "qmldebug/qmlprofilereventtypes.h"
|
#include "qmldebug/qmlprofilereventtypes.h"
|
||||||
#include "qmlprofiler/qmlprofilermodelmanager.h"
|
#include "qmlprofiler/qmlprofilermodelmanager.h"
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
namespace QmlProfilerExtended {
|
namespace QmlProfilerExtended {
|
||||||
@@ -264,9 +265,9 @@ QString labelForSGType(int t)
|
|||||||
{
|
{
|
||||||
switch ((SceneGraphCategoryType)t) {
|
switch ((SceneGraphCategoryType)t) {
|
||||||
case SceneGraphRenderThread:
|
case SceneGraphRenderThread:
|
||||||
return QGuiApplication::translate("SceneGraphTimelineModel", "Renderer Thread");
|
return QCoreApplication::translate("SceneGraphTimelineModel", "Renderer Thread");
|
||||||
case SceneGraphGUIThread:
|
case SceneGraphGUIThread:
|
||||||
return QGuiApplication::translate("SceneGraphTimelineModel", "GUI Thread");
|
return QCoreApplication::translate("SceneGraphTimelineModel", "GUI Thread");
|
||||||
default: return QString();
|
default: return QString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user