[vlc-commits] [Git][videolan/vlc][master] qml: do not override potentially final property in `SearchBox`

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Nov 7 08:17:16 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
0d8d6a32 by Fatih Uzunoglu at 2026-11-07T08:59:25+01:00
qml: do not override potentially final property in `SearchBox`

Qt 6.6.3 has reportedly `Transition::to` erroneously marked as
final, so overriding the property is not applicable and breaks
the component.

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/SearchBox.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/SearchBox.qml
=====================================
@@ -127,7 +127,7 @@ FocusScope {
             component EnterExitTransition : Transition {
                 id: transition
 
-                property alias to: animation.to
+                property alias animation: animation
 
                 NumberAnimation {
                     id: animation
@@ -147,12 +147,12 @@ FocusScope {
 
             enter: EnterExitTransition {
                 // NOTE: It is intentional that `from` is not used.
-                to: popup.implicitHeight
+                animation.to: popup.implicitHeight
             }
 
             exit: EnterExitTransition {
                 // NOTE: It is intentional that `from` is not used.
-                to: 0.0
+                animation.to: 0.0
             }
 
             contentItem: TextFieldExt {



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0d8d6a32b73dac81b32041d6680dd56e3f8d5e85
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list