Commit 2cf7e7c4 authored by Pierre Lamot's avatar Pierre Lamot
Browse files

qml: Component properties cannot be undefined

parent d3da0c14
...@@ -21,7 +21,7 @@ import QtQuick.Controls 2.4 ...@@ -21,7 +21,7 @@ import QtQuick.Controls 2.4
NavigableFocusScope { NavigableFocusScope {
id: root id: root
property Component component: undefined property Component component: Item {}
enum Edges { enum Edges {
Top, Top,
......
...@@ -58,7 +58,7 @@ NavigableFocusScope { ...@@ -58,7 +58,7 @@ NavigableFocusScope {
property alias currentItem: view.currentItem property alias currentItem: view.currentItem
property alias headerPositioning: view.headerPositioning property alias headerPositioning: view.headerPositioning
property Component header: undefined property Component header: Item{}
property var headerItem: view.headerItem.loadedHeader property var headerItem: view.headerItem.loadedHeader
property alias tableHeaderItem: view.headerItem property alias tableHeaderItem: view.headerItem
property color headerColor property color headerColor
......
Supports Markdown
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