diff --git a/src/ui/model/applistmodel.cpp b/src/ui/model/applistmodel.cpp index ea86a7b0..568935e0 100644 --- a/src/ui/model/applistmodel.cpp +++ b/src/ui/model/applistmodel.cpp @@ -110,10 +110,6 @@ QVariant AppListModel::data(const QModelIndex &index, int role) const case Qt::DecorationRole: return dataDecoration(index); - // Font - case Qt::FontRole: - return dataFont(index); - // Foreground case Qt::ForegroundRole: return dataForeground(index); @@ -181,19 +177,6 @@ QVariant AppListModel::dataDecoration(const QModelIndex &index) const return QVariant(); } -QVariant AppListModel::dataFont(const QModelIndex &index) const -{ - const int column = index.column(); - - if (column == 2) { - QFont font; - font.setWeight(QFont::DemiBold); - return font; - } - - return QVariant(); -} - QVariant AppListModel::dataForeground(const QModelIndex &index) const { const int column = index.column(); diff --git a/src/ui/model/applistmodel.h b/src/ui/model/applistmodel.h index c2e9d572..2d516bf7 100644 --- a/src/ui/model/applistmodel.h +++ b/src/ui/model/applistmodel.h @@ -66,7 +66,6 @@ private: QVariant dataDisplay(const QModelIndex &index) const; QVariant dataDisplayState(const AppRow &appRow) const; QVariant dataDecoration(const QModelIndex &index) const; - QVariant dataFont(const QModelIndex &index) const; QVariant dataForeground(const QModelIndex &index) const; QVariant dataTextAlignment(const QModelIndex &index) const;