summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmllegend/qml/qmllegend/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/qmllegend/qml/qmllegend/main.qml')
-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();
}
}