From cea6770da5058ee099734e6496762564a49814bf Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 14 Jan 2009 16:54:39 +0900 Subject: [PATCH] don't use background colour in display properties --- ankiqt/ui/displayproperties.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ankiqt/ui/displayproperties.py b/ankiqt/ui/displayproperties.py index 5f603088a..80d0589fe 100644 --- a/ankiqt/ui/displayproperties.py +++ b/ankiqt/ui/displayproperties.py @@ -90,11 +90,6 @@ class DisplayProperties(QDialog): self.connect(self.cwidget("Align", type), SIGNAL("activated(int)"), self.saveCard) - # set the background colour to the current system-wide background colour - p = QPalette() - p.setColor(QPalette.Base, QColor(self.main.config['backgroundColour'])) - self.dialog.question.setPalette(p) - self.dialog.answer.setPalette(p) self.drawCards() def drawCards(self):