Skip to content

Commit

Permalink
Needed patches (to use aboutToExecuteRunControl() signal)
Browse files Browse the repository at this point in the history
  • Loading branch information
pasccom committed Apr 14, 2018
1 parent 37350a7 commit 86bb86f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions patches/run_control_signal-4.6.0.pacth
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff -uprN qt-creator-opensource-src-4.6.0-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-4.6.0/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-4.6.0-orig/src/plugins/projectexplorer/projectexplorer.cpp 2018-03-27 13:44:46.000000000 +0200
+++ qt-creator-opensource-src-4.6.0/src/plugins/projectexplorer/projectexplorer.cpp 2018-04-07 14:06:56.658206131 +0200
@@ -2036,6 +2036,8 @@ void ProjectExplorerPluginPrivate::execu
return;
}

+ emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
startRunControl(runControl);
}

diff -uprN qt-creator-opensource-src-4.6.0-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-4.6.0/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-4.6.0-orig/src/plugins/projectexplorer/projectexplorer.h 2018-03-27 13:44:46.000000000 +0200
+++ qt-creator-opensource-src-4.6.0/src/plugins/projectexplorer/projectexplorer.h 2018-04-07 14:05:02.455384477 +0200
@@ -176,6 +176,8 @@ signals:

void updateRunActions();

+ void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Core::Id runMode);
+
private:
static bool coreAboutToClose();

0 comments on commit 86bb86f

Please sign in to comment.