forked from qt-creator/qt-creator
Remove non-functional tracking of profiler root's vertical scroll
Vertical scrolling doesn't work at the moment and has to be implemented in a different way. Besides, the code tracking the root's vertical scroll hasn't done anything useful in a long time. Change-Id: If2add3874cba971bbaace2c22fbf1b2bf0b463b7 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
This commit is contained in:
@@ -238,7 +238,6 @@ void QmlProfilerTraceView::reset()
|
||||
connect(this, SIGNAL(jumpToNext()), rootObject, SLOT(nextEvent()));
|
||||
connect(rootObject, SIGNAL(selectedEventChanged(int)), this, SIGNAL(selectedEventChanged(int)));
|
||||
connect(rootObject, SIGNAL(changeToolTip(QString)), this, SLOT(updateToolTip(QString)));
|
||||
connect(rootObject, SIGNAL(updateVerticalScroll(int)), this, SLOT(updateVerticalScroll(int)));
|
||||
}
|
||||
|
||||
QWidget *QmlProfilerTraceView::createToolbar()
|
||||
@@ -373,8 +372,6 @@ qint64 QmlProfilerTraceView::selectionEnd() const
|
||||
void QmlProfilerTraceView::clearDisplay()
|
||||
{
|
||||
d->m_zoomControl->setRange(0,0);
|
||||
|
||||
updateVerticalScroll(0);
|
||||
d->m_mainView->rootObject()->setProperty("scrollY", QVariant(0));
|
||||
|
||||
QMetaObject::invokeMethod(d->m_mainView->rootObject(), "clearAll");
|
||||
@@ -496,10 +493,6 @@ void QmlProfilerTraceView::updateToolTip(const QString &text)
|
||||
setToolTip(text);
|
||||
}
|
||||
|
||||
void QmlProfilerTraceView::updateVerticalScroll(int /*newPosition*/)
|
||||
{
|
||||
}
|
||||
|
||||
void QmlProfilerTraceView::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
QWidget::resizeEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user