summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-09-23 16:00:29 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-09-23 16:00:29 (GMT)
commitfd62e42569330dfc810736b25d563797e5ffc88a (patch)
tree26f7ae79b4c056e78dcab598e188f2419f566459
parent51d6c76f2e4c694880832d3d91f864adeb146ae1 (diff)
Fix icon display
-rw-r--r--discover/qml/ApplicationsGridDelegate.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/qml/ApplicationsGridDelegate.qml b/discover/qml/ApplicationsGridDelegate.qml
index 7ae2559..d6f2cf1 100644
--- a/discover/qml/ApplicationsGridDelegate.qml
+++ b/discover/qml/ApplicationsGridDelegate.qml
@@ -78,6 +78,7 @@ GridItem {
height: width
smooth: true
asynchronous: true
+ sourceSize: Qt.size(width, width)
source: model.application.icon[0] == "/" ? "file://"+model.application.icon : "image://icon/"+model.application.icon
}
}
@@ -86,6 +87,7 @@ GridItem {
anchors.centerIn: parent
height: parent.height*0.7
width: height
+ sourceSize: Qt.size(width, width)
smooth: true
asynchronous: true
source: model.application.icon[0] == "/" ? "file://"+model.application.icon : "image://icon/"+model.application.icon