summaryrefslogtreecommitdiff
path: root/ord.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ord.cxx')
-rw-r--r--ord.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/ord.cxx b/ord.cxx
index 4a729df..1de7447 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -20,6 +20,8 @@ namespace QICClient {
return item.product.sku;
case Product::DescriptionRole:
return item.product.description;
+ case Product::ImageRole:
+ return item.product.image;
case Product::PriceRole:
return item.product.price;
case Item::QuantityRole:
@@ -34,6 +36,7 @@ namespace QICClient {
return QHash<int, QByteArray>{
{ Product::SkuRole, "sku" },
{ Product::DescriptionRole, "description" },
+ { Product::ImageRole, "image" },
{ Product::PriceRole, "price" },
{ Item::QuantityRole, "quantity" }
};