File 004-run_control_signal-15.0.0.patch of Package qtcreator
diff -uprN qt-creator-opensource-src-15.0.0-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-15.0.0/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-15.0.0-orig/src/plugins/projectexplorer/projectexplorer.cpp 2024-11-27 11:00:23.000000000 +0100
+++ qt-creator-opensource-src-15.0.0/src/plugins/projectexplorer/projectexplorer.cpp 2024-12-08 14:43:22.441147502 +0100
@@ -2469,6 +2469,8 @@ void ProjectExplorerPluginPrivate::execu
return;
}
+ emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
startRunControl(runControl);
}
diff -uprN qt-creator-opensource-src-15.0.0-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-15.0.0/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-15.0.0-orig/src/plugins/projectexplorer/projectexplorer.h 2024-11-27 11:00:23.000000000 +0100
+++ qt-creator-opensource-src-15.0.0/src/plugins/projectexplorer/projectexplorer.h 2024-12-08 14:43:22.444480825 +0100
@@ -184,6 +184,8 @@ signals:
void filesRenamed(const Utils::FilePairs &oldAndNewPaths);
+ void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
private:
static bool coreAboutToClose();
void handleCommandLineArguments(const QStringList &arguments);