[vlc-devel] [PATCH 04/16] qml: Make aspect ratio support editor
Rohan Rajpal
rohan17089 at iiitd.ac.in
Wed Jul 31 14:30:44 CEST 2019
Ensure aspect ratio widget does not change the
ratio when the editor loads it in paintOnly mode.
---
modules/gui/qt/qml/player/ControlButtons.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/qml/player/ControlButtons.qml b/modules/gui/qt/qml/player/ControlButtons.qml
index 7a96647ae6..c4aa4758fc 100644
--- a/modules/gui/qt/qml/player/ControlButtons.qml
+++ b/modules/gui/qt/qml/player/ControlButtons.qml
@@ -405,6 +405,7 @@ Item{
height: VLCStyle.combobox_height_normal
textRole: "display"
model: player.aspectRatio
+ currentIndex: -1
onCurrentIndexChanged: model.toggleIndex(currentIndex)
property bool acceptFocus: true
}
--
2.17.1
More information about the vlc-devel
mailing list