summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
Diffstat (limited to 'interchange')
-rw-r--r--interchange/product.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/interchange/product.hxx b/interchange/product.hxx
index 483ee42..63ac63e 100644
--- a/interchange/product.hxx
+++ b/interchange/product.hxx
@@ -9,6 +9,7 @@ namespace QInterchange {
{
enum ProductRoles {
SkuRole = Qt::UserRole + 1,
+ TitleRole,
DescriptionRole,
CommentRole,
ThumbRole,
@@ -27,6 +28,8 @@ namespace QInterchange {
{
if (product->sku)
sku = QString{product->sku};
+ if (product->title)
+ title = QString{product->title};
if (product->description)
description = QString{product->description};
if (product->comment)
@@ -47,6 +50,7 @@ namespace QInterchange {
}
QString sku;
+ QString title;
QString description;
QString comment;
QString thumb;