QmlProfiler: Remove some dead code

Change-Id: I2efd48a4dc13cc3996eda994eb4a046c101ad3e9
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-09-11 13:43:23 +02:00
parent fe2d9e2a3b
commit 89f1c0bf53
5 changed files with 5 additions and 39 deletions

View File

@@ -189,8 +189,6 @@ QmlProfilerEventsWidget::QmlProfilerEventsWidget(QWidget *parent,
setObjectName(QLatin1String("QmlProfilerEventsView"));
d->modelProxy = new QmlProfilerEventsModelProxy(profilerModelManager, this);
connect(profilerModelManager, SIGNAL(stateChanged()),
this, SLOT(profilerDataModelStateChanged()));
d->m_eventTree = new QmlProfilerEventsMainView(this, d->modelProxy);
connect(d->m_eventTree, SIGNAL(gotoSourceLocation(QString,int,int)), this, SIGNAL(gotoSourceLocation(QString,int,int)));
@@ -236,10 +234,6 @@ QmlProfilerEventsWidget::~QmlProfilerEventsWidget()
delete d;
}
void QmlProfilerEventsWidget::profilerDataModelStateChanged()
{
}
void QmlProfilerEventsWidget::clear()
{
d->m_eventTree->clear();
@@ -441,10 +435,6 @@ QmlProfilerEventsMainView::~QmlProfilerEventsMainView()
delete d;
}
void QmlProfilerEventsMainView::profilerDataModelStateChanged()
{
}
void QmlProfilerEventsMainView::setFieldViewable(Fields field, bool show)
{
if (field < MaxFields) {