From 57aff605a3ffa8035c3adefd20c944fc9f0ba19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 20 Mar 2023 11:25:21 +0800 Subject: Add large image to product --- catalog.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'catalog.cxx') diff --git a/catalog.cxx b/catalog.cxx index bb1f4dd..ece144c 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -46,6 +46,8 @@ namespace QInterchange { return product.author; case Product::CrossSellRole: return product.crossSell; + case Product::ImageLargeRole: + return product.imageLarge; default: return QVariant(); } @@ -65,7 +67,8 @@ namespace QInterchange { { Product::CategoryRole, "category" }, { Product::WeightRole, "weight" }, { Product::AuthorRole, "author" }, - { Product::CrossSellRole, "crossSell" } + { Product::CrossSellRole, "crossSell" }, + { Product::ImageLargeRole, "imageLarge" } }; } -- cgit v1.2.3