From bc3a49fb9a722e224973898ced5b8d1fe0a82ecd 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: Mon, 15 Jun 2020 08:59:24 +0800 Subject: Add prodGroup member to Product struct --- qicclient/product.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qicclient') diff --git a/qicclient/product.hxx b/qicclient/product.hxx index d07339d..3b47241 100644 --- a/qicclient/product.hxx +++ b/qicclient/product.hxx @@ -13,6 +13,7 @@ namespace ICClient { CommentRole, ImageRole, PriceRole, + ProdGroupRole, WeightRole, AuthorRole }; @@ -29,6 +30,8 @@ namespace ICClient { comment = QString{product->comment}; if (product->image) image = QString{product->image}; + if (product->prod_group) + prodGroup = QString{product->prod_group}; if (product->author) author = QString{product->author}; } @@ -38,6 +41,7 @@ namespace ICClient { QString comment; QString image; double price; + QString prodGroup; double weight; QString author; }; -- cgit v1.2.3