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

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Jul 20 22:18:43 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
dac04d78 by Fatih Uzunoglu at 2023-07-20T22:02:12+00:00
qml: use ScaledImage in EmptyLabel

- - - - -
128dbb18 by Fatih Uzunoglu at 2023-07-20T22:02:12+00:00
qml: use ScaledImage in PlayCover

- - - - -
d1562a6f by Fatih Uzunoglu at 2023-07-20T22:02:12+00:00
qml: use ScaledImage in VideoGridItem

- - - - -


3 changed files:

- modules/gui/qt/medialibrary/qml/VideoGridItem.qml
- modules/gui/qt/widgets/qml/EmptyLabel.qml
- modules/gui/qt/widgets/qml/PlayCover.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/VideoGridItem.qml
=====================================
@@ -85,7 +85,7 @@ Widgets.GridItem {
 
     onPlayClicked: root.play()
 
-    Image {
+    Widgets.ScaledImage {
         id: image
 
         anchors.right: parent.right


=====================================
modules/gui/qt/widgets/qml/EmptyLabel.qml
=====================================
@@ -73,7 +73,7 @@ FocusScope {
                 width: VLCStyle.colWidth(1)
                 height: VLCStyle.colWidth(1)
 
-                Image {
+                ScaledImage {
                     id: cover
 
                     anchors.fill: parent


=====================================
modules/gui/qt/widgets/qml/PlayCover.qml
=====================================
@@ -67,7 +67,7 @@ MouseArea {
 
     // Children
 
-    Image {
+    ScaledImage {
         anchors.centerIn: parent
 
         // NOTE: We round this to avoid blurry textures with the QML renderer.



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/cb94447a80b5425a28262e85346fb09eb9176894...d1562a6f0f21398bb8c770de9cf0f48813a870f8

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