[vlc-commits] qml: Component properties cannot be undefined
Pierre Lamot
git at videolan.org
Thu Sep 10 16:10:32 CEST 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Sep 1 17:21:33 2020 +0200| [2cf7e7c4b1adabb795a436d0cc744b5cd77d05c1] | committer: Pierre Lamot
qml: Component properties cannot be undefined
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cf7e7c4b1adabb795a436d0cc744b5cd77d05c1
---
modules/gui/qt/widgets/qml/DrawerExt.qml | 2 +-
modules/gui/qt/widgets/qml/KeyNavigableTableView.qml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/widgets/qml/DrawerExt.qml b/modules/gui/qt/widgets/qml/DrawerExt.qml
index b7fbc4e1fc..594e9db209 100644
--- a/modules/gui/qt/widgets/qml/DrawerExt.qml
+++ b/modules/gui/qt/widgets/qml/DrawerExt.qml
@@ -21,7 +21,7 @@ import QtQuick.Controls 2.4
NavigableFocusScope {
id: root
- property Component component: undefined
+ property Component component: Item {}
enum Edges {
Top,
diff --git a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
index ffa0dac6d2..727266eb94 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
@@ -58,7 +58,7 @@ NavigableFocusScope {
property alias currentItem: view.currentItem
property alias headerPositioning: view.headerPositioning
- property Component header: undefined
+ property Component header: Item{}
property var headerItem: view.headerItem.loadedHeader
property alias tableHeaderItem: view.headerItem
property color headerColor
More information about the vlc-commits
mailing list