diff --git a/src/gui/salemodel.cpp b/src/gui/salemodel.cpp index 0476b24..0bf9a71 100644 --- a/src/gui/salemodel.cpp +++ b/src/gui/salemodel.cpp @@ -80,7 +80,7 @@ QVariant SaleModel::data(const QModelIndex& index, int role) const if (role == Qt::FontRole) { QFont myFont; QFont myFixedFont = QFontDatabase::systemFont(QFontDatabase::FixedFont); - if (myFixedFont.fixedPitch() == false) { + if (myFixedFont.fixedPitch() == false) { myFixedFont.setFamily("monospace"); } @@ -113,7 +113,9 @@ QVariant SaleModel::data(const QModelIndex& index, int role) const Article* article = static_cast(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: