File 004-run_control_signal-14.0.1.patch of Package qtcreator

diff -uprN qt-creator-opensource-src-14.0.1-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-14.0.1/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-14.0.1-orig/src/plugins/projectexplorer/projectexplorer.cpp	2024-08-06 03:26:37.000000000 +0200
+++ qt-creator-opensource-src-14.0.1/src/plugins/projectexplorer/projectexplorer.cpp	2024-11-03 18:46:56.635736801 +0100
@@ -2431,6 +2431,8 @@ void ProjectExplorerPluginPrivate::execu
         return;
     }
 
+    emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
     startRunControl(runControl);
 }
 
diff -uprN qt-creator-opensource-src-14.0.1-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-14.0.1/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-14.0.1-orig/src/plugins/projectexplorer/projectexplorer.h	2024-08-06 03:26:37.000000000 +0200
+++ qt-creator-opensource-src-14.0.1/src/plugins/projectexplorer/projectexplorer.h	2024-11-03 18:46:56.639070125 +0100
@@ -187,6 +187,8 @@ signals:
 
     void filesRenamed(const QList<std::pair<Utils::FilePath, Utils::FilePath>> &oldAndNewPaths);
 
+    void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
 private:
     static bool coreAboutToClose();
     void handleCommandLineArguments(const QStringList &arguments);
openSUSE Build Service is sponsored by