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 --- qicclient/product.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qicclient/product.hxx') diff --git a/qicclient/product.hxx b/qicclient/product.hxx index b2abdeb..ec5125b 100644 --- a/qicclient/product.hxx +++ b/qicclient/product.hxx @@ -11,6 +11,7 @@ namespace ICClient { SkuRole = Qt::UserRole + 1, DescriptionRole, CommentRole, + ThumbRole, ImageRole, PriceRole, ProdGroupRole, @@ -29,6 +30,8 @@ namespace ICClient { description = QString{product->description}; if (product->comment) comment = QString{product->comment}; + if (product->thumb) + thumb = QString{product->thumb}; if (product->image) image = QString{product->image}; if (product->prod_group) @@ -45,6 +48,7 @@ namespace ICClient { QString sku; QString description; QString comment; + QString thumb; QString image; double price; QString prodGroup; -- cgit v1.2.3