forked from qt-creator/qt-creator
QmlProfiler: introduce properties for empty, hidden and displayName
Like this we can properly refer to them from QML. Change-Id: I98378d543d307f78909191225e72c9d0404dfa1d Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -246,7 +246,7 @@ QVariantList RangeTimelineModel::labels() const
|
||||
Q_D(const RangeTimelineModel);
|
||||
QVariantList result;
|
||||
|
||||
if (d->expanded) {
|
||||
if (d->expanded && !d->hidden) {
|
||||
const QVector<QmlProfilerDataModel::QmlEventTypeData> &types =
|
||||
d->modelManager->qmlModel()->getEventTypes();
|
||||
for (int i = 1; i < d->expandedRowCount; i++) { // Ignore the -1 for the first row
|
||||
|
||||
Reference in New Issue
Block a user