QmlProfiler: remove useless notesChanged signal from aggregator

Change-Id: Ifebd60a24b3e07702ca603425b5133e9a23557c5
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2014-12-08 10:29:44 +01:00
parent dcbd4ac1c6
commit 67e515aec6
3 changed files with 5 additions and 4 deletions

View File

@@ -113,7 +113,11 @@ Canvas {
offset = -1;
requestPaint();
}
onNotesChanged: notes.doPaint = true;
}
Connections {
target: modelProxy.notes
onChanged: notes.doPaint = true
}
Timer {

View File

@@ -59,8 +59,6 @@ TimelineModelAggregator::TimelineModelAggregator(QmlProfilerNotesModel *notes, Q
d->notesModel = notes;
connect(this,SIGNAL(modelsChanged()),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()

View File

@@ -66,7 +66,6 @@ public:
signals:
void dataAvailable();
void stateChanged();
void notesChanged(int typeId, int modelIndex, int eventIndex);
void modelsChanged();
void heightChanged();