[vlc-devel] [PATCH 04/15] qml: fix SortControl close animation

Fatih Uzunoglu fuzun54 at outlook.com
Thu Feb 11 21:23:32 UTC 2021


This patch fixes the SortControl close animation which was not working when Qt 5.15 was used.
---
 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
 
-- 
2.27.0



More information about the vlc-devel mailing list