[vlc-commits] [Git][videolan/vlc][master] qml: do not assign size to real type property

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Feb 16 14:00:02 UTC 2025



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


Commits:
4eb6a647 by Fatih Uzunoglu at 2025-02-16T13:32:30+00:00
qml: do not assign size to real type property

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/widgets/qml/RoundImage.qml
=====================================
@@ -48,7 +48,7 @@ Item {
     // when the shader has custom softedge support (`CUSTOM_SOFTEDGE`), currently it is used
     // at all times.
     readonly property real padding: (shaderEffect.readyForVisibility && antialiasing) ? (Math.max(shaderEffect.width, shaderEffect.height) / 4 * shaderEffect.softEdgeMax)
-                                                                                      : Qt.size(0.0, 0.0)
+                                                                                      : 0.0
 
     readonly property real paintedWidth: (shaderEffect.readyForVisibility) ? shaderEffect.width
                                                                            : (image.clip ? image.width : image.paintedWidth)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4eb6a6475ace363a17d2b661e77f5136b502995c

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


VideoLAN code repository instance


More information about the vlc-commits mailing list