[vlc-commits] qml: fix qml error in ButtonsLayout

Fatih Uzunoglu git at videolan.org
Fri Apr 16 11:20:21 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Mon Apr 12 00:45:30 2021 +0300| [63b8c3e48b3c4de7f77ee77074520f2945a8a8d9] | committer: Pierre Lamot

qml: fix qml error in ButtonsLayout

according to specifications, undefined can
not be assigned to qml type real

fixes part of #25601.

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63b8c3e48b3c4de7f77ee77074520f2945a8a8d9
---

 modules/gui/qt/player/qml/ButtonsLayout.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/player/qml/ButtonsLayout.qml b/modules/gui/qt/player/qml/ButtonsLayout.qml
index c6e5f8408f..952475ba83 100644
--- a/modules/gui/qt/player/qml/ButtonsLayout.qml
+++ b/modules/gui/qt/player/qml/ButtonsLayout.qml
@@ -46,7 +46,7 @@ Widgets.NavigableFocusScope {
 
         return minimumWidth
     }
-    property real extraWidth: undefined
+    property real extraWidth: 0
     property int expandableCount: 0 // widget count that can expand when extra width is available
 
     implicitWidth: buttonrow.implicitWidth



More information about the vlc-commits mailing list