[vlc-commits] [Git][videolan/vlc][master] qml: Fix dialog provider clearing

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Apr 29 10:59:42 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
2cf66ffe by Gabriel Lafond-Thenaille at 2026-04-29T10:37:03+00:00
qml: Fix dialog provider clearing

- - - - -


1 changed file:

- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml


Changes:

=====================================
modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
=====================================
@@ -81,7 +81,9 @@ Item {
         }
 
         Component.onDestruction: {
-            VLCDialogModel.provider = null
+            // Only clear the provider if we are still the current one.
+            if (VLCDialogModel.provider === vlcDialog)
+                VLCDialogModel.provider = null
         }
 
         onLogin: (dialogId, title, text, defaultUsername, askStore) => {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2cf66ffefe615ddc4730d860b8e76254bf04f6fe

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2cf66ffefe615ddc4730d860b8e76254bf04f6fe
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list