summaryrefslogtreecommitdiff
path: root/catalog.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-16 09:41:12 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-16 09:41:12 +0800
commit228c93e5d02359a7a8f6d08da7a99bfbd79ce0d3 (patch)
tree189ee0b8e1a36908e62fa6a17a6ed0e577199a86 /catalog.cxx
parentbc3a49fb9a722e224973898ced5b8d1fe0a82ecd (diff)
Product cross-sell list of strings member
Diffstat (limited to 'catalog.cxx')
-rw-r--r--catalog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog.cxx b/catalog.cxx
index 549c7b3..6bb9499 100644
--- a/catalog.cxx
+++ b/catalog.cxx
@@ -35,6 +35,8 @@ namespace ICClient {
return product.weight;
case Product::AuthorRole:
return product.author;
+ case Product::CrossSellRole:
+ return product.crossSell;
default:
return QVariant();
}
@@ -51,6 +53,7 @@ namespace ICClient {
, {Product::ProdGroupRole, "prodGroup"}
, {Product::WeightRole, "weight"}
, {Product::AuthorRole, "author"}
+ , {Product::CrossSellRole, "crossSell"}
};
}