forked from qt-creator/qt-creator
QmlProfiler: handling start/stop actions
Change-Id: I940025ba1f35f6136b4a12936b9e508ccb9d0d1f Reviewed-on: http://codereview.qt.nokia.com/1160 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -679,6 +679,7 @@ void AnalyzerManagerPrivate::addTool(IAnalyzerTool *tool, const StartModes &mode
|
||||
void AnalyzerManagerPrivate::handleToolStarted()
|
||||
{
|
||||
m_isRunning = true; // FIXME: Make less global.
|
||||
updateRunActions();
|
||||
}
|
||||
|
||||
void AnalyzerManagerPrivate::handleToolFinished()
|
||||
@@ -856,6 +857,11 @@ QAction *AnalyzerManager::stopAction()
|
||||
return m_instance->d->m_stopAction;
|
||||
}
|
||||
|
||||
void AnalyzerManager::handleToolStarted()
|
||||
{
|
||||
m_instance->d->handleToolStarted();
|
||||
}
|
||||
|
||||
void AnalyzerManager::handleToolFinished()
|
||||
{
|
||||
m_instance->d->handleToolFinished();
|
||||
|
||||
Reference in New Issue
Block a user