forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.7' into 2.8
Conflicts: src/libs/cplusplus/LookupContext.cpp src/plugins/plugins.pro src/plugins/qnx/Qnx.pluginspec.in src/plugins/qnx/qnx_dependencies.pri Change-Id: I6c406c2503845b08c4852db99c64491a325629c7
This commit is contained in:
@@ -262,6 +262,10 @@ void QmlProfilerEngine::cancelProcess()
|
||||
{
|
||||
QTC_ASSERT(d->m_profilerState, return);
|
||||
|
||||
// no process to be canceled? (there might be multiple engines, but only one runs a process)
|
||||
if (!d->m_runner)
|
||||
return;
|
||||
|
||||
switch (d->m_profilerState->currentState()) {
|
||||
case QmlProfilerStateManager::AppReadyToStop : {
|
||||
d->m_profilerState->setCurrentState(QmlProfilerStateManager::AppStopped);
|
||||
|
||||
Reference in New Issue
Block a user