forked from qt-creator/qt-creator
Timeline: Use formatTime also from QML
Change-Id: I14c8e8a216008c2dafaa2d42bd3237d33cc2b781 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "timeline/timelinerenderer.h"
|
||||
#include "timeline/timelineoverviewrenderer.h"
|
||||
#include "timeline/timelinetheme.h"
|
||||
#include "timeline/timelineformattime.h"
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
// Needed for the load&save actions in the context menu
|
||||
@@ -166,6 +167,7 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerViewManag
|
||||
setMinimumHeight(170);
|
||||
|
||||
Timeline::TimelineTheme::setupTheme(d->m_mainView->engine());
|
||||
Timeline::TimeFormatter::setupTimeFormatter();
|
||||
|
||||
d->m_mainView->rootContext()->setContextProperty(QLatin1String("timelineModelAggregator"),
|
||||
d->m_modelProxy);
|
||||
|
||||
Reference in New Issue
Block a user