diff options
m--------- | libicclient | 10 | ||||
-rw-r--r-- | qicclient/basket.hxx | 6 |
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; |