forked from qt-creator/qt-creator
Timeline: Remove the stateChanged signal from TimelineModelAggregator
It doesn't serve any purpose anymore. Change-Id: I20c64e35415fc842852cf8e4bb20611294943a16 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -63,7 +63,6 @@ public:
|
|||||||
Q_INVOKABLE QVariantMap prevItem(int selectedModel, int selectedItem, qint64 time) const;
|
Q_INVOKABLE QVariantMap prevItem(int selectedModel, int selectedItem, qint64 time) const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void stateChanged();
|
|
||||||
void modelsChanged();
|
void modelsChanged();
|
||||||
void heightChanged();
|
void heightChanged();
|
||||||
|
|
||||||
|
|||||||
@@ -145,9 +145,6 @@ QmlProfilerTraceView::QmlProfilerTraceView(QWidget *parent, QmlProfilerTool *pro
|
|||||||
d->m_modelProxy->addModel(new QmlProfilerRangeModel(modelManager, (RangeType)i,
|
d->m_modelProxy->addModel(new QmlProfilerRangeModel(modelManager, (RangeType)i,
|
||||||
d->m_modelProxy));
|
d->m_modelProxy));
|
||||||
|
|
||||||
// Connect this last so that it's executed after the models have updated their data.
|
|
||||||
connect(modelManager->qmlModel(), SIGNAL(changed()), d->m_modelProxy, SIGNAL(stateChanged()));
|
|
||||||
|
|
||||||
// Minimum height: 5 rows of 20 pixels + scrollbar of 50 pixels + 20 pixels margin
|
// Minimum height: 5 rows of 20 pixels + scrollbar of 50 pixels + 20 pixels margin
|
||||||
setMinimumHeight(170);
|
setMinimumHeight(170);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user