diff options
author | Alessandro Portale <[email protected]> | 2018-04-25 13:24:28 +0200 |
---|---|---|
committer | Alessandro Portale <[email protected]> | 2018-04-27 07:43:49 +0000 |
commit | 1dbdd259bee717688a37812fa576b36585305b32 (patch) | |
tree | ee15dcdb3699c94415fc8bcc352597470083a40d /src/plugins/qmlprofiler/qmlprofilertraceview.cpp | |
parent | 4533015c66e13955fc2425ed2f926e75e3e7a606 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceview.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertraceview.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp index 3eb963d95ff..d654869f200 100644 --- a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp @@ -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 |