Skip to content
Snippets Groups Projects
Commit c2e75159 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by François Cartegnie
Browse files

qml: consider device pixel ratio for image source size in MusicArtistDelegate

parent d327c2d1
No related branches found
No related tags found
1 merge request!6470qml: consider device pixel ratio for round image source size
......@@ -19,6 +19,7 @@
*****************************************************************************/
import QtQuick
import QtQuick.Window
import QtQuick.Templates as T
import QtQuick.Layouts
import QtQml.Models
......@@ -166,8 +167,8 @@ T.ItemDelegate {
source: (model.cover) ? model.cover
: VLCStyle.noArtArtistSmall
sourceSize.width: width
sourceSize.height: height
sourceSize.width: width * Screen.devicePixelRatio
sourceSize.height: height * Screen.devicePixelRatio
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment