diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp index 79d1c6ebb2f..743a2b72fff 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp @@ -44,13 +44,9 @@ namespace QmlProfiler { class QmlProfilerStatisticsModel::QmlProfilerStatisticsModelPrivate { public: - QmlProfilerStatisticsModelPrivate(QmlProfilerStatisticsModel *qq) : q(qq) {} - ~QmlProfilerStatisticsModelPrivate() {} - QHash data; QmlProfilerModelManager *modelManager; - QmlProfilerStatisticsModel *q; int modelId; @@ -61,7 +57,7 @@ public: QmlProfilerStatisticsModel::QmlProfilerStatisticsModel(QmlProfilerModelManager *modelManager, QObject *parent) : - QObject(parent), d(new QmlProfilerStatisticsModelPrivate(this)) + QObject(parent), d(new QmlProfilerStatisticsModelPrivate) { d->modelManager = modelManager; connect(modelManager->qmlModel(), &QmlProfilerDataModel::changed, diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h index 8f5e32e4171..9ac8fe3e81f 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.h @@ -112,7 +112,6 @@ public: void clear(); const QmlStatisticsRelativesMap &getData(int typeId) const; - QVariantList getNotes(int typeId) const; const QVector &getTypes() const; protected: