Commit acd500ae authored by Kai Koehne's avatar Kai Koehne
Browse files

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: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent 08e4b339
......@@ -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
......@@ -64,6 +64,7 @@ private slots:
void finishProcess();
void logApplicationMessage(const QString &msg, Utils::OutputFormat format);
void filterApplicationMessage(const QString &msg);
void wrongSetupMessageBoxFinished(int);
private:
class QmlProfilerEnginePrivate;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment