forked from qt-creator/qt-creator
QmlProfiler: remove useless notesChanged signal from aggregator
Change-Id: Ifebd60a24b3e07702ca603425b5133e9a23557c5 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
@@ -113,7 +113,11 @@ Canvas {
|
|||||||
offset = -1;
|
offset = -1;
|
||||||
requestPaint();
|
requestPaint();
|
||||||
}
|
}
|
||||||
onNotesChanged: notes.doPaint = true;
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: modelProxy.notes
|
||||||
|
onChanged: notes.doPaint = true
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
|
|||||||
@@ -59,8 +59,6 @@ TimelineModelAggregator::TimelineModelAggregator(QmlProfilerNotesModel *notes, Q
|
|||||||
d->notesModel = notes;
|
d->notesModel = notes;
|
||||||
connect(this,SIGNAL(modelsChanged()),this,SIGNAL(heightChanged()));
|
connect(this,SIGNAL(modelsChanged()),this,SIGNAL(heightChanged()));
|
||||||
connect(this,SIGNAL(stateChanged()),this,SIGNAL(heightChanged()));
|
connect(this,SIGNAL(stateChanged()),this,SIGNAL(heightChanged()));
|
||||||
connect(notes, SIGNAL(changed(int,int,int)), this, SIGNAL(notesChanged(int,int,int)));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TimelineModelAggregator::~TimelineModelAggregator()
|
TimelineModelAggregator::~TimelineModelAggregator()
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ public:
|
|||||||
signals:
|
signals:
|
||||||
void dataAvailable();
|
void dataAvailable();
|
||||||
void stateChanged();
|
void stateChanged();
|
||||||
void notesChanged(int typeId, int modelIndex, int eventIndex);
|
|
||||||
void modelsChanged();
|
void modelsChanged();
|
||||||
void heightChanged();
|
void heightChanged();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user