use existing property instead of doing the function call again
commitd5076b056df6555c6064aa16b34f0fb3c7b49212
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 19 Mar 2014, 16:13 (13 years ago)
parent4d201fd
qml/Stages/PhoneStage.qml+1−1
@@ -68,7 +68,7 @@ Item {
6868 if (priv.secondApplicationStarting || priv.applicationStarting) {
6969 appSplashTimer.start();
7070 } else {
71− var application = ApplicationManager.findApplication(ApplicationManager.focusedApplicationId);
71+ var application = priv.focusedApplication;
7272 root.fullscreen = application.fullscreen;
7373 mainScreenshotImage.src = application.screenshot;
7474 }