forked from qt-creator/qt-creator
Valgrind: Remove starting() signal
It's only used internally as one-time communication between worker and the *Tool singleton that handles toolbar button states. We basically start immediately after creation of the worker, so any pre-start tool bar specific operations can be done at RunWorker creation time. Medium term, the runworker should proably steer "their" buttons more directly. Change-Id: Id6df703746ece5eebc23507739cd2a92ec55d11d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -250,7 +250,6 @@ private:
|
||||
void settingsDestroyed(QObject *settings);
|
||||
void maybeActiveRunConfigurationChanged();
|
||||
|
||||
void engineStarting(const MemcheckToolRunner *engine);
|
||||
void engineFinished();
|
||||
void loadingExternalXmlLogFileFinished();
|
||||
|
||||
@@ -565,8 +564,6 @@ RunWorker *MemcheckTool::createRunWorker(RunControl *runControl)
|
||||
|
||||
auto runTool = new MemcheckToolRunner(runControl, runControl->runMode() == MEMCHECK_WITH_GDB_RUN_MODE);
|
||||
|
||||
connect(runTool, &MemcheckToolRunner::starting,
|
||||
this, [this, runTool] { engineStarting(runTool); });
|
||||
connect(runTool, &MemcheckToolRunner::parserError, this, &MemcheckTool::parserError);
|
||||
connect(runTool, &MemcheckToolRunner::internalParserError, this, &MemcheckTool::internalParserError);
|
||||
connect(runTool, &MemcheckToolRunner::stopped, this, &MemcheckTool::engineFinished);
|
||||
@@ -576,11 +573,6 @@ RunWorker *MemcheckTool::createRunWorker(RunControl *runControl)
|
||||
m_toolBusy = true;
|
||||
updateRunActions();
|
||||
|
||||
return runTool;
|
||||
}
|
||||
|
||||
void MemcheckTool::engineStarting(const MemcheckToolRunner *runTool)
|
||||
{
|
||||
setBusyCursor(true);
|
||||
clearErrorView();
|
||||
m_loadExternalLogFile->setDisabled(true);
|
||||
@@ -601,6 +593,8 @@ void MemcheckTool::engineStarting(const MemcheckToolRunner *runTool)
|
||||
});
|
||||
m_suppressionActions.append(action);
|
||||
}
|
||||
|
||||
return runTool;
|
||||
}
|
||||
|
||||
void MemcheckTool::loadExternalXmlLogFile()
|
||||
|
||||
Reference in New Issue
Block a user