From 0d802e5a97ff21c2df1e0b55ac69b41ef856fc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 23 Jun 2021 20:09:45 +0800 Subject: Image role on Ord --- ord.cxx | 3 +++ 1 file changed, 3 insertions(+) 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{ { Product::SkuRole, "sku" }, { Product::DescriptionRole, "description" }, + { Product::ImageRole, "image" }, { Product::PriceRole, "price" }, { Item::QuantityRole, "quantity" } }; -- cgit v1.2.3