[vlc-devel] [PATCH 5/7] qml: fix qml error in ButtonsLayout

Fatih Uzunoglu fuzun54 at outlook.com
Sun Apr 11 21:45:30 UTC 2021


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

fixes part of #25601.
---
 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
-- 
2.27.0



More information about the vlc-devel mailing list