aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickloader/data/sizebound.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick2/qquickloader/data/sizebound.qml')
-rw-r--r--tests/auto/qtquick2/qquickloader/data/sizebound.qml30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/auto/qtquick2/qquickloader/data/sizebound.qml b/tests/auto/qtquick2/qquickloader/data/sizebound.qml
deleted file mode 100644
index 09cf32426a..0000000000
--- a/tests/auto/qtquick2/qquickloader/data/sizebound.qml
+++ /dev/null
@@ -1,30 +0,0 @@
-import QtQuick 2.0
-
-Item {
- width: 200; height: 200
-
- function switchComponent() {
- load.sourceComponent = comp2
- }
-
- Component {
- id: comp
- Rectangle {
- width: 50; height: 60; color: "red"
- }
- }
-
- Component {
- id: comp2
- Rectangle {
- width: 80; height: 90; color: "green"
- }
- }
-
- Loader {
- id: load
- objectName: "loader"
- sourceComponent: comp
- height: item ? item.height : 0
- }
-}