Fix up the multicolouredness.

This commit is contained in:
Raoul Snyman 2011-04-27 12:30:29 +02:00
parent 86a05a38b5
commit 35cb2b2fa6
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ class AdvancedTab(SettingsTab):
"""
advancedTranslated = translate('OpenLP.AdvancedTab', 'Advanced')
self.default_image = u':/graphics/openlp-splash-screen.png'
self.default_color = u'#009900'
self.default_color = u'#ffffff'
self.icon_path = u':/system/system_settings.png'
SettingsTab.__init__(self, parent, u'Advanced', advancedTranslated)
@ -198,7 +198,7 @@ class AdvancedTab(SettingsTab):
self.hideMouseCheckBox.setChecked(
settings.value(u'hide mouse', QtCore.QVariant(False)).toBool())
self.default_color = settings.value(u'default color',
QtCore.QVariant(u'#000099')).toString()
QtCore.QVariant(u'#ffffff')).toString()
self.defaultFileEdit.setText(settings.value(u'default image',
QtCore.QVariant(u':/graphics/openlp-splash-screen.png'))\
.toString())

View File

@ -145,7 +145,7 @@ class MainDisplay(DisplayWidget):
background_color = QtGui.QColor()
background_color.setNamedColor(QtCore.QSettings().value(
u'advanced/default color',
QtCore.QVariant(u'#990000')).toString())
QtCore.QVariant(u'#ffffff')).toString())
if not background_color.isValid():
background_color = QtCore.Qt.white
splash_image = QtGui.QImage(image_file)