don't use background colour in display properties

This commit is contained in:
Damien Elmes 2009-01-14 16:54:39 +09:00
parent d7ae8a1e98
commit cea6770da5

View file

@ -90,11 +90,6 @@ class DisplayProperties(QDialog):
self.connect(self.cwidget("Align", type), self.connect(self.cwidget("Align", type),
SIGNAL("activated(int)"), SIGNAL("activated(int)"),
self.saveCard) 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() self.drawCards()
def drawCards(self): def drawCards(self):