code cleanup
This commit is contained in:
parent
710b4cf9fb
commit
9fd29d588f
24 changed files with 60 additions and 101 deletions
|
@ -1,8 +1,8 @@
|
|||
#include "basketmodel.h"
|
||||
|
||||
#include <QFont>
|
||||
#include <QSettings>
|
||||
#include <QFontDatabase>
|
||||
#include <QSettings>
|
||||
|
||||
BasketModel::BasketModel(Marketplace* market, QObject* parent)
|
||||
: QAbstractTableModel(parent), marketplace_(market)
|
||||
|
@ -22,7 +22,7 @@ QVariant BasketModel::data(const QModelIndex& index, int role) const
|
|||
QFont myFont;
|
||||
|
||||
QFont myFixedFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
|
||||
if (myFixedFont.fixedPitch() == false) {
|
||||
if (myFixedFont.fixedPitch() == false) {
|
||||
myFixedFont.setFamily("monospace");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue