summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-12 20:15:20 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-12 20:15:20 +0800
commitdf2437eb869fe404aac56f03aa5015fca8bcaaf1 (patch)
tree835d632bbd0198d7efd908e7269fe35c48290894
parentb213d8324f7cea08efb26f0666b7e9b2451cbf20 (diff)
Conform to updated libicclient results interface
-rw-r--r--client.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/client.cxx b/client.cxx
index 6e4a3f4..7c69b84 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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)