@@ -26,20 +26,20 @@ DashPreview {
2626 property var previewData
2727
2828 title: previewData.title
29− url: previewData.image
29+ url: IconUtil.from_gicon(IconpreviewData.image)
3030 previewWidthRatio: 0.6
3131
3232 buttons: GridView {
3333 id: buttons
3434 model: genericPreview.previewData.actions
3535
36− property int numOfRows: (count+1)/2
36+ property int numOfRows: (count + 1) / 2
3737 property int spacing: units.gu(1)
38− height: Math.max(units.gu(4), units.gu(4)*numOfRows+spacing*(numOfRows-1))
38+ height: Math.max(units.gu(4), units.gu(4)*numOfRows + spacing*(numOfRows - 1))
3939
40− cellWidth: Math.max(units.gu(9), width/2)
41− cellHeight: buttonHeight+spacing
42− property int buttonWidth: Math.max(0, width/2-spacing)
40+ cellWidth: Math.max(units.gu(9), width / 2)
41+ cellHeight: buttonHeight + spacing
42+ property int buttonWidth: Math.max(0, width / 2 - spacing)
4343 property int buttonHeight: units.gu(4)
4444
4545 delegate: Button {