From 6a5938f755688f76a57129c7589f6bfcab202407 Mon Sep 17 00:00:00 2001 From: Insoleet <insomniak.fr@gmail.com> Date: Tue, 20 Jan 2015 21:10:09 +0100 Subject: [PATCH] Wrong font on windows --- src/cutecoin/models/sent.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/cutecoin/models/sent.py b/src/cutecoin/models/sent.py index 892b91b9..4d42a4f7 100644 --- a/src/cutecoin/models/sent.py +++ b/src/cutecoin/models/sent.py @@ -52,11 +52,5 @@ class SentListModel(QAbstractListModel): value = "{0} to {1}".format(amount, outputs[0].pubkey) return value - if role == Qt.FontRole: - if row < len(self.account.transactions_sent(self.community)): - return QFont('Sans Serif', italic=False) - else: - return QFont('Sans Serif', italic=True) - def flags(self, index): return Qt.ItemIsSelectable | Qt.ItemIsEnabled -- GitLab