From: Flavio Tordini Date: Fri, 24 Jul 2015 07:34:25 +0000 (+0200) Subject: Removed bold font from messages X-Git-Tag: 2.5~69 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=308a16177126966360a921e23d680730e8b2be3c;p=minitube Removed bold font from messages --- 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();