diff options
author | Ulf Hermann <[email protected]> | 2016-12-14 13:50:20 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2016-12-14 16:48:36 +0000 |
commit | a7a02897e74a27b6c81d6f303ce9cfb93e3f50a1 (patch) | |
tree | e69286722d5f8e6ee6689d44327d74a0cc9c585a /src/plugins/qmlprofiler/qmlprofilertraceview.cpp | |
parent | 207b5315cfa07e8f091a69e059b29c49572e1a90 (diff) |
QmlProfiler: Clean up view initialization
As there are only two events views we can handle them separately rather
than keeping them in a list. Also, the object names and dock IDs should
match. This breaks the settings, but that shouldn't be a big problem.
Change-Id: Iac46fd7976d1e747fef4b40cead9a54e830d188f
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceview.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertraceview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp index 54e739636cd..375181744b1 100644 --- a/src/plugins/qmlprofiler/qmlprofilertraceview.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertraceview.cpp @@ -90,7 +90,8 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerViewManag QmlProfilerModelManager *modelManager) : QWidget(parent), d(new QmlProfilerTraceViewPrivate(this)) { - setObjectName(QLatin1String("QML Profiler")); + setWindowTitle(tr("Timeline")); + setObjectName("QmlProfiler.Timeline.Dock"); d->m_zoomControl = new Timeline::TimelineZoomControl(this); connect(modelManager, &QmlProfilerModelManager::stateChanged, this, [modelManager, this]() { |