[vlc-commits] [Git][videolan/vlc][master] qml: use ScaledImage in ArtworkInfoWidget

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jan 5 11:43:25 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
eae903d8 by Fatih Uzunoglu at 2024-01-05T11:21:40+00:00
qml: use ScaledImage in ArtworkInfoWidget

- - - - -


1 changed file:

- modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml


Changes:

=====================================
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
=====================================
@@ -95,14 +95,12 @@ AbstractButton {
     contentItem: RowLayout {
         spacing: VLCStyle.margin_xsmall
 
-        Image {
+        Widgets.ScaledImage {
             id: coverImage
 
             Layout.fillHeight: true
             Layout.preferredWidth: root.height
 
-            sourceSize.width: root.height
-
             source: {
                 if (!paintOnly && Player.artwork && Player.artwork.toString())
                     return Player.artwork



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eae903d84c42bbc3062474a88233668fa8a73b3a
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