summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-17 08:03:52 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-17 08:03:52 +0800
commit3ba44b940147c67f7f776209121c705665a40d09 (patch)
tree4921642c4d09ae3b916d0423798666ac5a8c8866
parent4c43c27774cfc3652ff3269519ee248e71b58185 (diff)
Fix the offset to start item quantity role from
It should've been changed when the option type field was added.
-rw-r--r--interchange/ord.hxx2
1 files changed, 1 insertions, 1 deletions
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) :