Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0fdff3a9 by Fatih Uzunoglu at 2023-09-09T08:39:48+00:00
qt: prevent segmentation fault from Qt 6.3 to Qt 6.5.2

QTBUG-116049

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/BannerSources.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/BannerSources.qml
=====================================
@@ -78,15 +78,7 @@ FocusScope {
     BindingCompat {
         property: "searchPattern"
         value: searchBox.searchPattern
-        when: !!contentModel
-
-        Component.onCompleted: {
-            // restoreMode is only available in Qt >= 5.14
-            if ("restoreMode" in this)
-                this.restoreMode = Binding.RestoreBindingOrValue
-
-            target = Qt.binding(function() { return !!contentModel ? 
contentModel : null })
-        }
+        target: (contentModel instanceof QtObject) ? contentModel : null
     }
 
     Widgets.AcrylicBackground {



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/0fdff3a9802e6c06eb8fa2a8ee984ca94351f8a6

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


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

Reply via email to