forked from qt-creator/qt-creator
Utils: Replace Environment::size() check by some isValid() function
More descriptive, and later implementable without full expansion. Change-Id: Ic3b17ea0b07273f292827a7b63e7695b4bd1cf23 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -645,7 +645,7 @@ void AndroidRunnerWorker::asyncStartHelper()
|
||||
<< QString::fromLatin1(appArgs.join(' ').toUtf8().toBase64());
|
||||
}
|
||||
|
||||
if (m_extraEnvVars.size() > 0) {
|
||||
if (m_extraEnvVars.isValid()) {
|
||||
args << "-e" << "extraenvvars"
|
||||
<< QString::fromLatin1(m_extraEnvVars.toStringList().join('\t')
|
||||
.toUtf8().toBase64());
|
||||
|
||||
Reference in New Issue
Block a user