diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2017-06-12 18:23:05 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2017-06-22 08:27:28 +0000 |
commit | 533f92c1bdb31910b8f22a90477a6fbeb9805a5c (patch) | |
tree | 3e6ab23f8086c684a414b3d50a80d30d2823cdb5 /src/plugins/android/androidbuildapkstep.cpp | |
parent | a33bf92bd223fb4c095d29e93d75644d658a2e35 (diff) | |
download | qt-creator-533f92c1bdb31910b8f22a90477a6fbeb9805a5c.tar.gz |
Mobile platforms: initialize params in one go
Change-Id: I2b6097b6c1212e750b27f95055331fed6736b182
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Diffstat (limited to 'src/plugins/android/androidbuildapkstep.cpp')
-rw-r--r-- | src/plugins/android/androidbuildapkstep.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/android/androidbuildapkstep.cpp b/src/plugins/android/androidbuildapkstep.cpp index 2fa26a209f..4461807198 100644 --- a/src/plugins/android/androidbuildapkstep.cpp +++ b/src/plugins/android/androidbuildapkstep.cpp @@ -375,11 +375,8 @@ QAbstractItemModel *AndroidBuildApkStep::keystoreCertificates() return nullptr; CertificatesModel *model = nullptr; - QStringList params - = {"-list", "-v", "-keystore", m_keystorePath.toUserOutput(), "-storepass"}; - - params << m_keystorePasswd; - params << "-J-Duser.language=en"; + const QStringList params = {"-list", "-v", "-keystore", m_keystorePath.toUserOutput(), + "-storepass", m_keystorePasswd, "-J-Duser.language=en"}; Utils::SynchronousProcess keytoolProc; keytoolProc.setTimeoutS(30); |