diff options
author | hjk <hjk@qt.io> | 2019-11-15 15:44:45 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-11-21 13:08:06 +0000 |
commit | c2127c9ec42a2a8ced7aff3547d844e6b421d718 (patch) | |
tree | ccd97ebb9ce09bb8215c006de332d350031bf426 /src/plugins/android/androidrunconfiguration.cpp | |
parent | 738bbf1a873fbb5c5debbb871a58631e99ba20e8 (diff) |
ProjectExplorer: Introduce and use a Target::buildSystemUpdated signal
Change-Id: I497d46866146600a1ed9162bd720c574ee4d4769
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/android/androidrunconfiguration.cpp')
-rw-r--r-- | src/plugins/android/androidrunconfiguration.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/androidrunconfiguration.cpp b/src/plugins/android/androidrunconfiguration.cpp index 1d562ad16b..3028b27f71 100644 --- a/src/plugins/android/androidrunconfiguration.cpp +++ b/src/plugins/android/androidrunconfiguration.cpp @@ -31,6 +31,7 @@ #include "androidmanager.h" #include "adbcommandswidget.h" +#include <projectexplorer/buildsystem.h> #include <projectexplorer/kitinformation.h> #include <projectexplorer/project.h> #include <projectexplorer/target.h> @@ -132,7 +133,7 @@ AndroidRunConfiguration::AndroidRunConfiguration(Target *target, Core::Id id) postStartShellCmdAspect->setSettingsKey("Android.PostStartShellCmdListKey"); postStartShellCmdAspect->setLabel(tr("Shell commands to run on Android device after application quits.")); - connect(target, &Target::parsingFinished, this, [this] { + connect(target, &Target::buildSystemUpdated, this, [this] { updateTargetInformation(); AndroidManager::updateGradleProperties(this->target(), buildKey()); }); |