Bug 682814 - Fennec on N9 can not get launched from other application; r=romaxa
authorJeremias Bosch <jeremias.bosch@gmail.com>
Thu, 01 Sep 2011 22:14:01 +0100
changeset 76418 d337401fc15086aaef8b1ef965ec9819ee317d0d
parent 76417 e5c8fdabdf665d44a516579184b9ac5214eeeed9
child 76419 9ef862cbcc5e8968887f67250dfbd8aa301c9a78
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersromaxa
bugs682814
milestone9.0a1
Bug 682814 - Fennec on N9 can not get launched from other application; r=romaxa
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -2998,17 +2998,17 @@ XRE_main(int argc, char* argv[], const n
     ar = CheckArg("graphicssystem", PR_TRUE, &qgraphicssystemARG, PR_FALSE);
     if (ar == ARG_FOUND)
       PR_SetEnv(PR_smprintf("MOZ_QT_GRAPHICSSYSTEM=%s", qgraphicssystemARG));
 
     QScopedPointer<QApplication> app(new QApplication(gArgc, gArgv));
 #ifdef MOZ_ENABLE_MEEGOTOUCH
     gArgv[gArgc] = strdup("-software");
     gArgc++;
-    QScopedPointer<MComponentData> meegotouch(new MComponentData(gArgc, gArgv));
+    QScopedPointer<MComponentData> meegotouch(new MComponentData(gArgc, gArgv,"", new  MApplicationService("")));
 #endif
 
 #if MOZ_PLATFORM_MAEMO > 5
     if (XRE_GetProcessType() == GeckoProcessType_Default) {
       // try to get the MInputContext if possible to support the MeeGo VKB
       QInputContext* inputContext = app->inputContext();
       if (inputContext && inputContext->identifierName() != "MInputContext") {
           QInputContext* context = QInputContextFactory::create("MInputContext",