summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2020-07-09 15:31:59 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2020-07-31 14:59:08 +0200
commit466a6da2a2667e780f96a461875573fc8e5964da (patch)
treea43177ac16587fcb3666d8f1cb571da584383ca9 /examples
parentc4bf6ca57380ee7195ea68c3987f8232178e4fab (diff)
downloadqtwayland-466a6da2a2667e780f96a461875573fc8e5964da.tar.gz
Update QML syntax
Change-Id: Iaaac7328e75971aa2f0b50d9fb0437ade6f19cbc Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/pure-qml/qml/Chrome.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/pure-qml/qml/Chrome.qml b/examples/wayland/pure-qml/qml/Chrome.qml
index 10710e71..acef044a 100644
--- a/examples/wayland/pure-qml/qml/Chrome.qml
+++ b/examples/wayland/pure-qml/qml/Chrome.qml
@@ -77,7 +77,7 @@ ShellSurfaceItem {
// some signals are not available on wl_shell, so let's ignore them
ignoreUnknownSignals: true
- onActivatedChanged: { // xdg_shell only
+ function onActivatedChanged() { // xdg_shell only
if (shellSurface.activated) {
receivedFocusAnimation.start();
}