forked from qt-creator/qt-creator
ProjectExplorer: Start to consolidate AbstractProcessStep setup
Add some convenience functions to the base class to avoid repetition in the derived classes. Will be used immediately it in some derived classes. Change-Id: I8fd6aa4f8351720cdc8f63f7fa5f506e32a8143b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -257,11 +257,11 @@ bool AndroidBuildApkStep::init()
|
||||
}
|
||||
|
||||
ProjectExplorer::ProcessParameters *pp = processParameters();
|
||||
setupProcessParameters(pp, this, arguments, command);
|
||||
Android::setupProcessParameters(pp, this, arguments, command);
|
||||
|
||||
// Generate arguments with keystore password concealed
|
||||
ProjectExplorer::ProcessParameters pp2;
|
||||
setupProcessParameters(&pp2, this, argumentsPasswordConcealed, command);
|
||||
Android::setupProcessParameters(&pp2, this, argumentsPasswordConcealed, command);
|
||||
m_command = pp2.effectiveCommand().toString();
|
||||
m_argumentsPasswordConcealed = pp2.prettyArguments();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user