From a3da1b34d74f912093bde50998adb92cfa8540ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 19 Jun 2020 15:54:49 +0800 Subject: Add thumb member to product --- catalog.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'catalog.cxx') diff --git a/catalog.cxx b/catalog.cxx index 6bb9499..6ddbe1b 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -25,6 +25,8 @@ namespace ICClient { return product.description; case Product::CommentRole: return product.comment; + case Product::ThumbRole: + return product.thumb; case Product::ImageRole: return product.image; case Product::PriceRole: @@ -48,6 +50,7 @@ namespace ICClient { {Product::SkuRole, "sku"} , {Product::DescriptionRole, "description"} , {Product::CommentRole, "comment"} + , {Product::ThumbRole, "thumb"} , {Product::ImageRole, "image"} , {Product::PriceRole, "price"} , {Product::ProdGroupRole, "prodGroup"} -- cgit v1.2.3