diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-19 15:54:49 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-19 15:54:49 +0800 |
commit | a3da1b34d74f912093bde50998adb92cfa8540ac (patch) | |
tree | eab6c864bad6bde83752009cc34c71327f038a00 /qicclient/product.hxx | |
parent | 542fac1f3a32416e084fde26d2d9cf0ddc30fa5d (diff) |
Add thumb member to product
Diffstat (limited to 'qicclient/product.hxx')
-rw-r--r-- | qicclient/product.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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; |