@@ -77,15 +77,8 @@ Item {
77 return layout;
77 return layout;
80− readonly property bool isAppLikeScope: scopeId === "libertine-scope.ubuntu_libertine-scope"
81− readonly property bool isAppLikeScopeAppCategory: (scopeId === "libertine-scope.ubuntu_libertine-scope" && categoryId !== "hint")
83 readonly property string artShapeStyle: {
80 readonly property string artShapeStyle: {
84− if (isAppLikeScope) {
85− return isAppLikeScopeAppCategory ? "icon" : "flat";
87− return categoryLayout === "carousel" ? "shadow" : "flat"
81+ return categoryLayout === "carousel" ? "shadow" : "flat"
91 // FIXME ? This seems like it should not be needed, but on Qt 5.4 + phone
84 // FIXME ? This seems like it should not be needed, but on Qt 5.4 + phone
@@ -120,18 +113,6 @@ Item {
120 If -1, should use implicit width of the actual card.
113 If -1, should use implicit width of the actual card.
122 readonly property real cardWidth: {
115 readonly property real cardWidth: {
123− if (isAppLikeScopeAppCategory) {
124− if (!isNarrowView) {
126− return units.gu(11);
128− return units.gu(10);
131− return units.gu(12);
135 switch (categoryLayout) {
116 switch (categoryLayout) {
136 case "grid":
117 case "grid":
137 case "vertical-journal":
118 case "vertical-journal":
@@ -190,11 +171,7 @@ Item {
190 readonly property int headerHeight: cardLoader.item ? cardLoader.item.headerHeight : 0
171 readonly property int headerHeight: cardLoader.item ? cardLoader.item.headerHeight : 0
192 readonly property size artShapeSize: {
173 readonly property size artShapeSize: {
193− if (isAppLikeScopeAppCategory) {
194− return Qt.size(units.gu(8), units.gu(7.5));
196− return cardLoader.item ? cardLoader.item.artShapeSize : Qt.size(0, 0)
174+ return cardLoader.item ? cardLoader.item.artShapeSize : Qt.size(0, 0)
200 QtObject {
177 QtObject {