File 006-run_control_signal-4.13.2.patch of Package qtcreator
diff -uprN qt-creator-opensource-src-4.13.2-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-4.13.2/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-4.13.2-orig/src/plugins/projectexplorer/projectexplorer.cpp 2020-11-08 13:15:08.400356295 +0100
+++ qt-creator-opensource-src-4.13.2/src/plugins/projectexplorer/projectexplorer.cpp 2020-11-08 10:58:05.580266989 +0100
@@ -2475,6 +2475,8 @@ void ProjectExplorerPluginPrivate::execu
return;
}
+ emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
startRunControl(runControl);
}
diff -uprN qt-creator-opensource-src-4.13.2-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-4.13.2/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-4.13.2-orig/src/plugins/projectexplorer/projectexplorer.h 2020-11-08 13:15:08.400356295 +0100
+++ qt-creator-opensource-src-4.13.2/src/plugins/projectexplorer/projectexplorer.h 2020-11-08 13:13:06.821429916 +0100
@@ -199,6 +199,8 @@ signals:
void runActionsUpdated();
+ void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
private:
static bool coreAboutToClose();
void handleCommandLineArguments(const QStringList &arguments);