mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 18:31:08 +00:00
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:
parent
31f90fdcbb
commit
43224740de
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user