[vlc-commits] qml: Make aspect ratio support editor
Rohan Rajpal
git at videolan.org
Wed Aug 21 16:26:41 CEST 2019
vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Wed Jul 31 16:29:58 2019 +0530| [935b1621354293adec5dc8ae5a5cf97c6d3b3b81] | committer: Jean-Baptiste Kempf
qml: Make aspect ratio support editor
Ensure aspect ratio widget does not change the
ratio when the editor loads it in paintOnly mode.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=935b1621354293adec5dc8ae5a5cf97c6d3b3b81
---
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
}
More information about the vlc-commits
mailing list