X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fqml%2FIconItem.qml;fp=launcher%2Fqml%2FIconItem.qml;h=52071961edd122127f5cd120d7a723bca6c75605;hb=9495545c38d5e72014cba05f8ea79c98ed3321a1;hp=5adbe8118d4f31978d84f89637ea0098ab6bc902;hpb=20cd96660d4bfb44e0be5695f71a92d5fb53a143;p=apps%2Flauncher.git diff --git a/launcher/qml/IconItem.qml b/launcher/qml/IconItem.qml index 5adbe81..5207196 100644 --- a/launcher/qml/IconItem.qml +++ b/launcher/qml/IconItem.qml @@ -39,7 +39,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter width: 220 height: width - source: './images/%1_%2.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'active' : 'inactive') + source: main.icon antialiasing: item.state !== '' property string initial: model.name.substring(0,1).toUpperCase()