forked from qt-creator/qt-creator
QmlProfiler: restore tooltips on category labels
They had been lost somewhere between QtCreator 2.8 and 3.0. Also putting the location in braces looks nicer than the original. Change-Id: Ia455ba99015ad38c21e528a0f8177902749ba1d5 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -220,7 +220,6 @@ void QmlProfilerTraceView::reset()
|
||||
|
||||
QQuickItem *rootObject = d->m_mainView->rootObject();
|
||||
connect(rootObject, SIGNAL(updateCursorPosition()), this, SLOT(updateCursorPosition()));
|
||||
connect(rootObject, SIGNAL(changeToolTip(QString)), this, SLOT(updateToolTip(QString)));
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
@@ -318,11 +317,6 @@ void QmlProfilerTraceView::updateRange()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
void QmlProfilerTraceView::updateToolTip(const QString &text)
|
||||
{
|
||||
setToolTip(text);
|
||||
}
|
||||
|
||||
void QmlProfilerTraceView::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
QWidget::resizeEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user