File 006-run_control_signal-4.14.2.patch of Package qtcreator

diff -uprN qt-creator-opensource-src-4.14.2-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-4.14.2/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-4.14.2-orig/src/plugins/projectexplorer/projectexplorer.cpp	2021-03-19 10:58:49.000000000 +0100
+++ qt-creator-opensource-src-4.14.2/src/plugins/projectexplorer/projectexplorer.cpp	2021-04-04 08:43:13.322939654 +0200
@@ -2469,6 +2469,8 @@ void ProjectExplorerPluginPrivate::execu
         return;
     }
 
+    emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
     startRunControl(runControl);
 }
 
diff -uprN qt-creator-opensource-src-4.14.2-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-4.14.2/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-4.14.2-orig/src/plugins/projectexplorer/projectexplorer.h	2021-03-19 10:58:49.000000000 +0100
+++ qt-creator-opensource-src-4.14.2/src/plugins/projectexplorer/projectexplorer.h	2021-04-04 08:43:13.322939654 +0200
@@ -201,6 +201,8 @@ signals:
 
     void runActionsUpdated();
 
+    void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
 private:
     static bool coreAboutToClose();
     void handleCommandLineArguments(const QStringList &arguments);
openSUSE Build Service is sponsored by