diff options
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; |