Commit ccd21682 authored by Tyler Mandry's avatar Tyler Mandry Committed by Tobias Hunger

Android: Clean/speed up some code.

Change-Id: I122bc317a32f938c57f79e93f65170de26f13202
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent bd95043c
......@@ -232,9 +232,8 @@ QStringList AndroidConfigurations::sdkTargets(int minApiLevel) const
proc.terminate();
return targets;
}
QList<QByteArray> avds = proc.readAll().trimmed().split('\n');
for (int i = 0; i < avds.size(); i++) {
QString line = QLatin1String(avds[i]);
while (proc.canReadLine()) {
QString line = proc.readLine();
int index = line.indexOf(QLatin1String("\"android-"));
if (index == -1)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment