Remove some obsolete code inside QT_VERSION_CHECK sections

With Qt 5.9 as minimal build version, we don't need to handle 5.7 or 5.8

Change-Id: Ie1eed95ab46364452b0633f78bebc565a4a63f4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2018-04-25 13:24:28 +02:00
parent 4533015c66
commit 1dbdd259be
5 changed files with 2 additions and 34 deletions

View File

@@ -295,12 +295,8 @@ void QmlProfilerTraceView::showContextMenu(QPoint position)
bool QmlProfilerTraceView::isUsable() const
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0))
return d->m_mainView->quickWindow()->rendererInterface()->graphicsApi()
== QSGRendererInterface::OpenGL;
#else
return true;
#endif
}
bool QmlProfilerTraceView::isSuspended() const