summaryrefslogtreecommitdiff
path: root/catalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'catalog.cxx')
-rw-r--r--catalog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog.cxx b/catalog.cxx
index aa1dd5f..3a9e901 100644
--- a/catalog.cxx
+++ b/catalog.cxx
@@ -7,7 +7,7 @@ namespace QInterchange {
QAbstractListModel{parent}
{
for (size_t i = 0; i < catalog.length; i++)
- addProduct(Product{catalog.products[i]});
+ addProduct(Product{&catalog.products[i]});
}
int Catalog::rowCount(QModelIndex const& parent) const