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)
|
void QmlProfilerEngine::logApplicationMessage(const QString &msg, Utils::OutputFormat format)
|
||||||
{
|
{
|
||||||
emit outputReceived(msg, format);
|
emit outputReceived(msg, format);
|
||||||
@@ -252,5 +251,13 @@ void QmlProfilerEngine::logApplicationMessage(const QString &msg, Utils::OutputF
|
|||||||
filterApplicationMessage(msg);
|
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 Internal
|
||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ private slots:
|
|||||||
void finishProcess();
|
void finishProcess();
|
||||||
void logApplicationMessage(const QString &msg, Utils::OutputFormat format);
|
void logApplicationMessage(const QString &msg, Utils::OutputFormat format);
|
||||||
void filterApplicationMessage(const QString &msg);
|
void filterApplicationMessage(const QString &msg);
|
||||||
|
void wrongSetupMessageBoxFinished(int);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class QmlProfilerEnginePrivate;
|
class QmlProfilerEnginePrivate;
|
||||||
|
|||||||
Reference in New Issue
Block a user