forked from qt-creator/qt-creator
QmlProfiler: Avoid empty timeline when restricting to ranges
The timeline models were suspended for editing but never restored. To test the correct behavior a test case for the trace view is added. Change-Id: Ic1803e9d84656eed97795f1f1674e3d56c83f650 Task-number: QTCREATORBUG-18354 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "tests/qmlprofilerbindingloopsrenderpass_test.h"
|
||||
#include "tests/qmlprofilerclientmanager_test.h"
|
||||
#include "tests/qmlprofilerconfigwidget_test.h"
|
||||
#include "tests/qmlprofilertraceview_test.h"
|
||||
|
||||
// Force QML Debugging to be enabled, so that we can selftest the profiler
|
||||
#define QT_QML_DEBUG_NO_WARNING
|
||||
@@ -117,6 +118,7 @@ QList<QObject *> QmlProfiler::Internal::QmlProfilerPlugin::createTestObjects() c
|
||||
tests << new QmlProfilerBindingLoopsRenderPassTest;
|
||||
tests << new QmlProfilerClientManagerTest;
|
||||
tests << new QmlProfilerConfigWidgetTest;
|
||||
tests << new QmlProfilerTraceViewTest;
|
||||
|
||||
tests << new QQmlEngine; // Trigger debug connector to be started
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user