forked from qt-creator/qt-creator
QmlProfiler: Implement missing slot
Open the help page for the QML Profiler if the user clicks 'Help' after the debugger couldn't connect. Change-Id: Ica540f8a3fb1e73865e2b8b4027fea50cd5e17b1 Reviewed-on: http://codereview.qt.nokia.com/818 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -244,7 +244,6 @@ void QmlProfilerEngine::filterApplicationMessage(const QString &msg)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void QmlProfilerEngine::logApplicationMessage(const QString &msg, Utils::OutputFormat format)
|
||||
{
|
||||
emit outputReceived(msg, format);
|
||||
@@ -252,5 +251,13 @@ void QmlProfilerEngine::logApplicationMessage(const QString &msg, Utils::OutputF
|
||||
filterApplicationMessage(msg);
|
||||
}
|
||||
|
||||
void QmlProfilerEngine::wrongSetupMessageBoxFinished(int button)
|
||||
{
|
||||
if (button == QMessageBox::Help) {
|
||||
Core::HelpManager *helpManager = Core::HelpManager::instance();
|
||||
helpManager->handleHelpRequest("creator-qml-performance-monitor.html");
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Reference in New Issue
Block a user