From 3ba44b940147c67f7f776209121c705665a40d09 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: Sat, 17 Jun 2023 08:03:52 +0800 Subject: Fix the offset to start item quantity role from It should've been changed when the option type field was added. --- interchange/ord.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interchange') diff --git a/interchange/ord.hxx b/interchange/ord.hxx index a7e41a7..514c480 100644 --- a/interchange/ord.hxx +++ b/interchange/ord.hxx @@ -11,7 +11,7 @@ namespace QInterchange { struct Item : public Product { enum ItemRoles { - QuantityRole = Product::PriceRole + 1, + QuantityRole = Product::OptionTypeRole + 1, NameRole }; Item(interchange_ord_item *item) : -- cgit v1.2.3