vlc | branch: master | Fatih Uzunoglu <[email protected]> | 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 <[email protected]>

> 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
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to