forked from qt-creator/qt-creator
QmlProfiler: Remove unused QmlProfilerEventsViewFactory
Change-Id: I813e1a7df32085f26dfdff8ae06f864c29903f20 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -53,12 +53,4 @@ public slots:
|
|||||||
virtual void onVisibleFeaturesChanged(quint64 features) = 0;
|
virtual void onVisibleFeaturesChanged(quint64 features) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class QMLPROFILER_EXPORT QmlProfilerEventsViewFactory : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
virtual QList<QmlProfilerEventsView *> create(QWidget *parent,
|
|
||||||
QmlProfilerModelManager *manager) = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -54,7 +54,6 @@ public:
|
|||||||
QList<QmlProfilerEventsView *> eventsViews;
|
QList<QmlProfilerEventsView *> eventsViews;
|
||||||
QmlProfilerStateManager *profilerState;
|
QmlProfilerStateManager *profilerState;
|
||||||
QmlProfilerModelManager *profilerModelManager;
|
QmlProfilerModelManager *profilerModelManager;
|
||||||
QmlProfilerEventsViewFactory *eventsViewFactory;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
QmlProfilerViewManager::QmlProfilerViewManager(QObject *parent,
|
QmlProfilerViewManager::QmlProfilerViewManager(QObject *parent,
|
||||||
@@ -66,8 +65,6 @@ QmlProfilerViewManager::QmlProfilerViewManager(QObject *parent,
|
|||||||
d->traceView = 0;
|
d->traceView = 0;
|
||||||
d->profilerState = profilerState;
|
d->profilerState = profilerState;
|
||||||
d->profilerModelManager = modelManager;
|
d->profilerModelManager = modelManager;
|
||||||
d->eventsViewFactory =
|
|
||||||
ExtensionSystem::PluginManager::getObject<QmlProfilerEventsViewFactory>();
|
|
||||||
createViews();
|
createViews();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user