diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-12 20:15:20 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-12 20:15:20 +0800 |
commit | df2437eb869fe404aac56f03aa5015fca8bcaaf1 (patch) | |
tree | 835d632bbd0198d7efd908e7269fe35c48290894 | |
parent | b213d8324f7cea08efb26f0666b7e9b2451cbf20 (diff) |
Conform to updated libicclient results interface
-rw-r--r-- | client.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -33,14 +33,12 @@ namespace QICClient { void Client::results(QString const& prodGroup, icclient_handler handler) { - icclient_catalog* catalog = nullptr; - icclient_results(prodGroup.toLatin1().constData(), callback, &catalog, handler); + icclient_results(prodGroup.toLatin1().constData(), callback, handler); } void Client::allProducts(icclient_handler handler) { - icclient_catalog* catalog = nullptr; - icclient_allproducts(callback, &catalog, handler); + icclient_allproducts(callback, handler); } void Client::emitCatalog(icclient_catalog* catalog) |