@@ -55,7 +55,7 @@ Item {
56 If undefined, should use implicit width of the actual card.
56 If undefined, should use implicit width of the actual card.
58− property var cardWidth: {
58+ readonly property var cardWidth: {
59 switch (template !== undefined && template["category-layout"]) {
59 switch (template !== undefined && template["category-layout"]) {
60 case "grid":
60 case "grid":
61 case "vertical-journal":
61 case "vertical-journal":
@@ -83,7 +83,7 @@ Item {
84 If undefined, should use implicit height of the actual card.
84 If undefined, should use implicit height of the actual card.
86− property var cardHeight: {
86+ readonly property var cardHeight: {
87 switch (template !== undefined && template["category-layout"]) {
87 switch (template !== undefined && template["category-layout"]) {
88 case "journal":
88 case "journal":
89 if (template["card-size"] >= 12 && template["card-size"] <= 38) return units.gu(template["card-size"]);
89 if (template["card-size"] >= 12 && template["card-size"] <= 38) return units.gu(template["card-size"]);
@@ -100,7 +100,7 @@ Item {
103− property QtObject priv: card
103+ readonly property QtObject priv: card