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:
Kai Koehne
2011-06-28 09:28:14 +02:00
parent 08e4b339f1
commit acd500aebd
2 changed files with 9 additions and 1 deletions

View File

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