From 308a16177126966360a921e23d680730e8b2be3c Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Fri, 24 Jul 2015 09:34:25 +0200 Subject: [PATCH] Removed bold font from messages --- src/playlistmodel.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/playlistmodel.cpp b/src/playlistmodel.cpp index 264f6ec..389f676 100644 --- a/src/playlistmodel.cpp +++ b/src/playlistmodel.cpp @@ -61,8 +61,6 @@ QVariant PlaylistModel::data(const QModelIndex &index, int role) const { if (row == videos.size()) { QPalette palette; - QFont boldFont; - boldFont.setBold(true); switch (role) { case ItemTypeRole: @@ -85,8 +83,6 @@ QVariant PlaylistModel::data(const QModelIndex &index, int role) const { return palette.color(QPalette::ToolTipBase); else return QVariant(); - case Qt::FontRole: - return boldFont; default: return QVariant(); } @@ -111,8 +107,10 @@ QVariant PlaylistModel::data(const QModelIndex &index, int role) const { return authorHovered; case AuthorPressedRole: return authorPressed; + /* case Qt::StatusTipRole: return video->description(); + */ } return QVariant(); -- 2.39.2