diff --git a/examples/todo/qml/Main.qml b/examples/todo/qml/Main.qml index 170801a..ad15505 100644 --- a/examples/todo/qml/Main.qml +++ b/examples/todo/qml/Main.qml @@ -217,7 +217,8 @@ ApplicationWindow { } Connections { - target: SingleInstance + // SingleInstance is a context property set in main(); qmllint can't see it. + target: SingleInstance // qmllint disable unqualified function onLaunchArgsReceived(args) { window.requestActivate() } diff --git a/framework/skeleton/qml/Main.qml b/framework/skeleton/qml/Main.qml index a1175b6..68b14b2 100644 --- a/framework/skeleton/qml/Main.qml +++ b/framework/skeleton/qml/Main.qml @@ -45,7 +45,8 @@ ApplicationWindow { } Connections { - target: SingleInstance + // SingleInstance is a context property set in main(); qmllint can't see it. + target: SingleInstance // qmllint disable unqualified function onLaunchArgsReceived(args) { window.requestActivate() log.append("ยท launch args from peer: " + args.join(" ")) @@ -74,7 +75,7 @@ ApplicationWindow { } Label { text: "Backend: " + window._stateName(BackendConnection.connectionState) } - Item { width: 12 } + Item { Layout.preferredWidth: 12 } Rectangle { Layout.preferredWidth: 12; Layout.preferredHeight: 12; radius: 6