Android: fixed arguments passed to the Qt application.

Removed extra empty parameter.

Change-Id: Iad5becf05801118d0f6d2ec2cc1ec255eaa9e872
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Yoann Lopes 2013-09-23 20:14:14 +02:00 committed by The Qt Project
parent f3a723f2ec
commit 1ac094321c

View File

@ -204,9 +204,9 @@ public class QtNative
m_displayMetricsXDpi,
m_displayMetricsYDpi,
m_displayMetricsScaledDensity);
if (params.length() > 0)
if (params.length() > 0 && !params.startsWith("\t"))
params = "\t" + params;
startQtApplication(f.getAbsolutePath() + "\t" + params, environment);
startQtApplication(f.getAbsolutePath() + params, environment);
m_started = true;
}
return res;