summaryrefslogtreecommitdiff
path: root/qicclient/product.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'qicclient/product.hxx')
-rw-r--r--qicclient/product.hxx4
1 files changed, 4 insertions, 0 deletions
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;
};