From df2437eb869fe404aac56f03aa5015fca8bcaaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 12 Jun 2021 20:15:20 +0800 Subject: Conform to updated libicclient results interface --- client.cxx | 6 ++---- 1 file 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) -- cgit v1.2.3