summaryrefslogtreecommitdiff
path: root/qicclient/product.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'qicclient/product.hxx')
-rw-r--r--qicclient/product.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/qicclient/product.hxx b/qicclient/product.hxx
index 7ab2f99..97b13b2 100644
--- a/qicclient/product.hxx
+++ b/qicclient/product.hxx
@@ -13,12 +13,14 @@ namespace ICClient {
CommentRole,
ImageRole,
PriceRole,
+ WeightRole,
AuthorRole
};
Product(icclient_product* product) :
sku{product->sku},
- price{product->price}
+ price{product->price},
+ weight{product->weight}
{
if (product->description)
description = QString{product->description};
@@ -35,6 +37,7 @@ namespace ICClient {
QString comment;
QString image;
double price;
+ double weight;
QString author;
};