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:
Ulf Hermann
2014-06-23 15:46:40 +02:00
parent 84b00721e4
commit 3dbc59309a
4 changed files with 49 additions and 40 deletions

View File

@@ -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);