forked from qt-creator/qt-creator
QmlProfiler: Remove TimelineModelAggregator::eventAccepted
It doesn't make any sense Change-Id: Ida6d19e3e7835a9ad23b8cbc7099bf07b05701c3 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -123,12 +123,6 @@ bool TimelineModelAggregator::isEmpty() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TimelineModelAggregator::eventAccepted(const QmlProfilerDataModel::QmlEventData &/*event*/) const
|
|
||||||
{
|
|
||||||
// accept all events
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
int TimelineModelAggregator::height(int modelIndex) const
|
int TimelineModelAggregator::height(int modelIndex) const
|
||||||
{
|
{
|
||||||
return d->modelList[modelIndex]->height();
|
return d->modelList[modelIndex]->height();
|
||||||
|
|||||||
@@ -57,8 +57,6 @@ public:
|
|||||||
|
|
||||||
bool isEmpty() const;
|
bool isEmpty() const;
|
||||||
|
|
||||||
bool eventAccepted(const QmlProfilerDataModel::QmlEventData &event) const;
|
|
||||||
|
|
||||||
Q_INVOKABLE int height(int modelIndex) const;
|
Q_INVOKABLE int height(int modelIndex) const;
|
||||||
Q_INVOKABLE int rowHeight(int modelIndex, int row) const;
|
Q_INVOKABLE int rowHeight(int modelIndex, int row) const;
|
||||||
Q_INVOKABLE void setRowHeight(int modelIndex, int row, int height);
|
Q_INVOKABLE void setRowHeight(int modelIndex, int row, int height);
|
||||||
|
|||||||
Reference in New Issue
Block a user