summaryrefslogtreecommitdiff
path: root/qicclient/basket.hxx
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 /qicclient/basket.hxx
parentdde8ee442f9551f416f8033feeb657eef6be6ebb (diff)
Initialise basket
Diffstat (limited to 'qicclient/basket.hxx')
-rw-r--r--qicclient/basket.hxx6
1 files changed, 5 insertions, 1 deletions
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;