on xenial help sign in
parent it properly
commit06e7e891edfbc0234953fb6aaebaf38d5cf9ff2a authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 4 Nov 2015, 18:15 (11 years ago) parent5661b7e
1 file changed+1−1
qml/Components/Dialogs.qml+1−1
qml/Components/Dialogs.qml+1−1
@@ -49,7 +49,7 @@ Item {
4949 onUsageScenarioChanged: {
5050 if (usageScenario != "desktop" && legacyAppsModel.count > 0 && !d.modeSwitchWarningPopup) {
5151 var comp = Qt.createComponent(Qt.resolvedUrl("ModeSwitchWarningDialog.qml"))
52− d.modeSwitchWarningPopup = comp.createObject(shell, {model: legacyAppsModel});
52+ d.modeSwitchWarningPopup = comp.createObject(root, {model: legacyAppsModel});
5353 d.modeSwitchWarningPopup.forceClose.connect(function() {
5454 while (legacyAppsModel.count > 0) {
5555 ApplicationManager.stopApplication(legacyAppsModel.get(0).appId);