diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-29 17:28:29 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-29 17:28:29 +0800 |
| commit | f8e6bbd50bd5f8f866e3786efa41d497b1e71d3d (patch) | |
| tree | 259c81f7178db1112ec2dcc21b54688bb87f8a7c /client.cxx | |
| parent | 228307e324190e760dc298ef84c3ffb29d4c8237 (diff) | |
Bring back basket update member function
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,8 +47,8 @@ namespace ICClient { void Client::order(QString const& sku, Catalog const& catalog, Basket& order) { auto c_order = order.c_order(); - icclient_order(sku.toLatin1().constData(), catalog.c_catalog(), - &c_order); + icclient_order(sku.toLatin1().constData(), catalog.c_catalog(), &c_order); + order.update(c_order); } void Client::logIn(size_t (*handler)(void*, size_t, size_t, void*) |