diff options
Diffstat (limited to 'catalog.cxx')
-rw-r--r-- | catalog.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog.cxx b/catalog.cxx index 8cdc64a..5180b23 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -29,6 +29,8 @@ namespace ICClient { return product.image; case Product::PriceRole: return product.price; + case Product::AuthorRole: + return product.author; default: return QVariant(); } @@ -42,6 +44,7 @@ namespace ICClient { , {Product::CommentRole, "comment"} , {Product::ImageRole, "image"} , {Product::PriceRole, "price"} + , {Product::AuthorRole, "author"} }; } |