summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmllegend
diff options
context:
space:
mode:
authorTuomo Pelkonen <tuomo.pelkonen@gmail.com>2021-02-10 16:06:12 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-26 04:58:09 +0000
commit95ebd340b9ddce6ee3abc2043e103647a73ede5b (patch)
treeefa6ed32d8651608ef1d4efcfbe6429726d6be19 /examples/datavisualization/qmllegend
parenta6e2c06aa97607343befacf265a039620466038b (diff)
Fix quit buttons in qml examples
Task-number: QTBUG-90664 Change-Id: I4b60dafeb0599e988b422a4764bac2e91b22d2ea Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> (cherry picked from commit 8461cda03dcbaf70d182656e245f1e636b580e83) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/datavisualization/qmllegend')
-rw-r--r--examples/datavisualization/qmllegend/qml/qmllegend/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/datavisualization/qmllegend/qml/qmllegend/main.qml b/examples/datavisualization/qmllegend/qml/qmllegend/main.qml
index 831e7dc7..5100a378 100644
--- a/examples/datavisualization/qmllegend/qml/qmllegend/main.qml
+++ b/examples/datavisualization/qmllegend/qml/qmllegend/main.qml
@@ -234,7 +234,7 @@ Rectangle {
Layout.fillHeight: true
Layout.fillWidth: true
text: "Quit"
- onClicked: Qt.quit(0);
+ onClicked: Qt.quit();
}
}