show article price as string

This commit is contained in:
Martin Brodbeck 2018-07-23 14:25:18 +02:00
parent 10d3a681b1
commit 96d0a03ba8
3 changed files with 14 additions and 1 deletions

View file

@ -30,7 +30,8 @@ QVariant BasketModel::data(const QModelIndex& index, int role) const
case 2:
return article->getSeller()->getSellerNo();
case 3:
return article->getPrice();
//return article->getPrice();
return article->getPriceAsString().c_str();
default:
return "???";
}