Commit d01987c1 authored by Don Gagne's avatar Don Gagne

Use null instead of { }

{ } generates an empty object
parent 739c07bc
...@@ -25,8 +25,9 @@ Rectangle { ...@@ -25,8 +25,9 @@ Rectangle {
} }
onPluginDisconnected: { onPluginDisconnected: {
pageLoader.sourceComponent = null
pageLoader.sourceComponent = disconnectedComponent pageLoader.sourceComponent = disconnectedComponent
pageLoader.autopilot = {} pageLoader.autopilot = null
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment