aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-06-04 10:50:28 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-06-04 10:50:28 +0200
commitb1e9bc580adc1e7b3b1398f392016880dc5201ba (patch)
treead0f708dcd523d3ba8da83ec18b0699b8435f732 /src/qml/doc
parent03f99bc4ff8cdbf87054ee4cf92d167a19838cea (diff)
Doc: Remove superfluous double quotes in code snippets
Fixes: QTBUG-75957 Change-Id: I2c9c70461a828978d1413b8cbdb407663b4b7493 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/snippets/qml/componentCreation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/snippets/qml/componentCreation.js b/src/qml/doc/snippets/qml/componentCreation.js
index 7364139d3d..ea45f18c37 100644
--- a/src/qml/doc/snippets/qml/componentCreation.js
+++ b/src/qml/doc/snippets/qml/componentCreation.js
@@ -17,7 +17,7 @@ function createSpriteObjects() {
//![local]
component = Qt.createComponent("Sprite.qml");
- sprite = component.createObject(appWindow, {"x": 100, "y": 100});
+ sprite = component.createObject(appWindow, {x: 100, y: 100});
if (sprite == null) {
// Error Handling
@@ -32,7 +32,7 @@ function createSpriteObjects() {
//![finishCreation]
function finishCreation() {
if (component.status == Component.Ready) {
- sprite = component.createObject(appWindow, {"x": 100, "y": 100});
+ sprite = component.createObject(appWindow, {x: 100, y: 100});
if (sprite == null) {
// Error Handling
console.log("Error creating object");