diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 18:23:59 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 18:23:59 +0800 |
commit | c2d38b094ceba47591b0524646b1e1c88e1005c0 (patch) | |
tree | 6d81c72831cd973c93f51220f2071eda1bb30d75 /qicclient | |
parent | dde8ee442f9551f416f8033feeb657eef6be6ebb (diff) |
Initialise basket
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/basket.hxx | 6 |
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; |