diff options
Diffstat (limited to 'qicclient/product.hxx')
-rw-r--r-- | qicclient/product.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qicclient/product.hxx b/qicclient/product.hxx index 97b13b2..d07339d 100644 --- a/qicclient/product.hxx +++ b/qicclient/product.hxx @@ -18,10 +18,11 @@ namespace ICClient { }; Product(icclient_product* product) : - sku{product->sku}, price{product->price}, weight{product->weight} { + if (product->sku) + sku = QString{product->sku}; if (product->description) description = QString{product->description}; if (product->comment) |