X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fsrc%2Fmain.cpp;fp=launcher%2Fsrc%2Fmain.cpp;h=15ce0f65aa3148fd9c4c7fcf4f9badf3694dc98a;hb=353da85004c72efb2bd6f117a15713b58e0df866;hp=7ff23ee01aa0ed1298929d45e660a49b6c5397b7;hpb=23279bbda23eff48249dbec1e802583d217549b1;p=apps%2Flauncher.git diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp index 7ff23ee..15ce0f6 100644 --- a/launcher/src/main.cpp +++ b/launcher/src/main.cpp @@ -152,9 +152,9 @@ int main(int argc, char *argv[]) engine.load(QUrl(QStringLiteral("qrc:/Launcher.qml"))); homescreenHandler->getRunnables(); -// QObject *root = engine.rootObjects().first(); -// QQuickWindow *window = qobject_cast(root); -// QObject::connect(window, SIGNAL(frameSwapped()), layoutHandler, SLOT(slotActivateSurface())); + QObject *root = engine.rootObjects().first(); + QQuickWindow *window = qobject_cast(root); + homescreenHandler->setQuickWindow(window); return a.exec(); }