summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 18:23:59 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 18:23:59 +0800
commitc2d38b094ceba47591b0524646b1e1c88e1005c0 (patch)
tree6d81c72831cd973c93f51220f2071eda1bb30d75
parentdde8ee442f9551f416f8033feeb657eef6be6ebb (diff)
Initialise basket
m---------libicclient10
-rw-r--r--qicclient/basket.hxx6
2 files changed, 10 insertions, 6 deletions
diff --git a/libicclient b/libicclient
-Subproject c2c89d376b0d80299ad0fe8228ecef427955716
+Subproject fc555594c636e87ffe2384e6b5240cfa934c6cf
diff --git a/qicclient/basket.hxx b/qicclient/basket.hxx
index eabec33..b3b5e11 100644
--- a/qicclient/basket.hxx
+++ b/qicclient/basket.hxx
@@ -34,7 +34,11 @@ namespace ICClient {
public:
explicit Basket(QObject* parent = nullptr)
- : QAbstractListModel{parent} {}
+ : QAbstractListModel{parent}
+ , m_subtotal{.0}
+ , m_shipping{.0}
+ , m_totalCost{.0}
+ {}
int rowCount(QModelIndex const& parent
= QModelIndex()) const Q_DECL_OVERRIDE;