Merge branch 'master' of ssh://brodbeck-online.de:60022/martin/kima2-cpp

This commit is contained in:
Martin Brodbeck 2018-07-18 08:17:33 +02:00
commit f5ba2f6014
2 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,9 @@ QVariant SellerModel::data(const QModelIndex& index, int role) const
if (role != Qt::DisplayRole)
return QVariant();
if (marketplace_->getSellers().size() == 0)
return QVariant();
Seller* seller = marketplace_->getSellers().at(index.row()).get();
/* if (seller->getState() == Seller::State::DELETE)