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 0a4e67c..6995ed1 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -44,6 +44,8 @@ namespace QInterchange {
return item.product.image;
case Product::PriceRole:
return item.product.price;
+ case Product::OptionTypeRole:
+ return item.product.optionType;
case Item::QuantityRole:
return item.quantity;
case Item::NameRole:
@@ -61,6 +63,7 @@ namespace QInterchange {
{ Product::DescriptionRole, "description" },
{ Product::ImageRole, "image" },
{ Product::PriceRole, "price" },
+ { Product::OptionTypeRole, "optionType" },
{ Item::QuantityRole, "quantity" },
{ Item::NameRole, "name" }
};