code beautifying
This commit is contained in:
parent
d3e56e629d
commit
b9ec6f983e
1 changed files with 4 additions and 2 deletions
|
@ -113,7 +113,9 @@ QVariant SaleModel::data(const QModelIndex& index, int role) const
|
|||
Article* article = static_cast<Article*>(index.internalPointer());
|
||||
switch (index.column()) {
|
||||
case 0:
|
||||
return (std::string("Verk. ") + article->getSeller()->getSellerNoAsString() + " (" + article->getCompleteArticleNo() + ")").c_str();
|
||||
return (std::string("Verk. ") + article->getSeller()->getSellerNoAsString() + " (" +
|
||||
article->getCompleteArticleNo() + ")")
|
||||
.c_str();
|
||||
case 1:
|
||||
return article->getPriceAsString().c_str();
|
||||
case 2:
|
||||
|
|
Loading…
Reference in a new issue