diff options
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/catalog.hxx | 1 | ||||
-rw-r--r-- | qicclient/product.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx index 4deeff3..616f6fb 100644 --- a/qicclient/catalog.hxx +++ b/qicclient/catalog.hxx @@ -13,6 +13,7 @@ namespace QICClient { Q_OBJECT public: + Catalog(QObject* parent = nullptr) : QObject{parent} {} Catalog(struct icclient_catalog* catalog, QObject* parent = nullptr); ~Catalog(); int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE; diff --git a/qicclient/product.hxx b/qicclient/product.hxx index 980132b..57f9641 100644 --- a/qicclient/product.hxx +++ b/qicclient/product.hxx @@ -20,6 +20,7 @@ namespace QICClient { CrossSellRole }; + Product() {} Product(struct icclient_product* product) : price{product->price}, weight{product->weight} |