Bug 589520 - Meegotouch don't check and don't understand that amount of arguments can be 0! r=dougt

--HG--
extra : rebase_source : 6d6e917d5cdeafa47fdb3f05dab9c1c27f4d166d
This commit is contained in:
Oleg Romashin 2010-08-24 10:00:49 -07:00
parent 31f90fdcbb
commit 43224740de

View File

@ -55,6 +55,10 @@ void nsQAppInstance::AddRef(void) {
QApplication::setGraphicsSystem(QString(graphicsSystem));
#if (MOZ_PLATFORM_MAEMO == 6)
QApplication::setStyle(QLatin1String("windows"));
if (!gArgc) {
gArgv[gArgc] = strdup("nsQAppInstance");
gArgc++;
}
#endif
sQAppInstance = new QApplication(gArgc, gArgv);
}