[vlc-commits] qml: fix SortControl close animation

Fatih Uzunoglu git at videolan.org
Wed Feb 17 09:31:46 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Feb 12 00:23:32 2021 +0300| [09cd7e01a4f9ade8e3c1f7bf90ad536dc70c600d] | committer: Pierre Lamot

qml: fix SortControl close animation

This patch fixes the SortControl close animation which was not working when Qt 5.15 was used.

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

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

 modules/gui/qt/widgets/qml/SortControl.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/widgets/qml/SortControl.qml b/modules/gui/qt/widgets/qml/SortControl.qml
index 0e99817b07..2061c34aed 100644
--- a/modules/gui/qt/widgets/qml/SortControl.qml
+++ b/modules/gui/qt/widgets/qml/SortControl.qml
@@ -95,6 +95,7 @@ Widgets.NavigableFocusScope {
     Popup {
         id: popup
 
+        closePolicy: Popup.NoAutoClose
         y: (popupAlignment & Qt.AlignBottom) ? (root.height) : -(height)
         x: (popupAlignment & Qt.AlignRight) ? (button.width - width) : 0
 



More information about the vlc-commits mailing list