summaryrefslogtreecommitdiffstats
path: root/examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-10-29 17:55:58 +0200
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-10-30 07:44:29 +0000
commit5e63a05ea53ea35e895d1b7e3c9bc5bba4f18540 (patch)
tree7ff5c4b1e72e91de57cb2d85f24694bfd11ba37e /examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml
parent0b24d110d889878b2ae968d5731dcb71b77ffac3 (diff)
Use Item instead of Rectangle as a background item where possible
Using Rectangle as background is not recommended if it is only for color. It is more efficient to simply set the window color. Change-Id: I3447ca394d74fa415bde4e9d2f210c81f354555e Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
Diffstat (limited to 'examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml')
-rw-r--r--examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml b/examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml
index 12530e9a..0241f63f 100644
--- a/examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml
+++ b/examples/charts/qmlpolarchart/qml/qmlpolarchart/View2.qml
@@ -22,7 +22,7 @@
import QtQuick 2.0
import QtCharts 2.0
-Rectangle {
+Item {
anchors.fill: parent
//![1]