diff options
Diffstat (limited to 'interchange.cxx')
-rw-r--r-- | interchange.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/interchange.cxx b/interchange.cxx index 9833b1d..2daba1e 100644 --- a/interchange.cxx +++ b/interchange.cxx @@ -82,12 +82,9 @@ namespace QInterchange { emit gotOrder(response); } - void Interchange::order(QString const& sku, Catalog const& catalog, - Ord& order) + void Interchange::order(QString const& sku) { - auto data = order.data(); interchange_ord_order(sku.toLatin1().constData(), - catalog.constData(), &data, [](interchange_response* response) { interchange->emitOrder(QString{response->data}); interchange_free_response(response); |