aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertracefile.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-06-23 14:00:36 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-07-09 12:51:54 +0200
commitc930551b5541944e11d5e92cddb4c41991e1ad98 (patch)
tree073747bda40e7daa9768d60dbb53e83a2bf230e3 /src/plugins/qmlprofiler/qmlprofilertracefile.h
parente24618134b0f9ed498486016520c62dda24c0b6d (diff)
QmlProfiler: Remove dead code from trace file writer
The whitelisting doesn't actually do anything useful. The trace writer uses a generic method to save range events and only needs specific code for non-ranges. The compile time checks for the sizes of MESSAGE_STRINGS and RANGE_TYPE_STRINGS make sure that you can't accidentally leave some event type unimplemented. The calculation of measured times is obsolete, too, as the only code the trace writer is called from also sets the trace time. Change-Id: Id431630114cb0a0247b774f10874c5caff761436 Task-number: QTCREATORBUG-12496 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertracefile.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertracefile.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertracefile.h b/src/plugins/qmlprofiler/qmlprofilertracefile.h
index f818d0ca5fe..676819a99f6 100644
--- a/src/plugins/qmlprofiler/qmlprofilertracefile.h
+++ b/src/plugins/qmlprofiler/qmlprofilertracefile.h
@@ -103,8 +103,6 @@ private:
QV8ProfilerDataModel *m_v8Model;
QVector<QmlProfilerDataModel::QmlEventTypeData> m_qmlEvents;
QVector<QmlProfilerDataModel::QmlEventData> m_ranges;
- QVector<QmlDebug::RangeType> m_acceptedRangeTypes;
- QVector<QmlDebug::Message> m_acceptedMessages;
};