File 006-run_control_signal-4.12.1.patch of Package qtcreator

diff -uprN qt-creator-opensource-src-4.12.1-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-4.12.1/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-4.12.1-orig/src/plugins/projectexplorer/projectexplorer.cpp	2020-05-19 04:15:35.000000000 +0200
+++ qt-creator-opensource-src-4.12.1/src/plugins/projectexplorer/projectexplorer.cpp	2020-06-01 10:20:49.071679924 +0200
@@ -2435,6 +2435,8 @@ void ProjectExplorerPluginPrivate::execu
         return;
     }
 
+    emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
     startRunControl(runControl);
 }
 
diff -uprN qt-creator-opensource-src-4.12.1-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-4.12.1/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-4.12.1-orig/src/plugins/projectexplorer/projectexplorer.h	2020-05-19 04:15:35.000000000 +0200
+++ qt-creator-opensource-src-4.12.1/src/plugins/projectexplorer/projectexplorer.h	2020-06-01 10:20:49.071679924 +0200
@@ -195,6 +195,8 @@ signals:
 
     void runActionsUpdated();
 
+    void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Core::Id runMode);
+
 private:
     static bool coreAboutToClose();
     void handleCommandLineArguments(const QStringList &arguments);
openSUSE Build Service is sponsored by