Removed duplicate check for this setting from def setup,

realized it is overridden by later check anyways.
This commit is contained in:
suutari-olli 2016-03-30 20:33:56 +03:00
parent 16077a855f
commit 005cf54116
1 changed files with 0 additions and 3 deletions

View File

@ -251,10 +251,7 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
self.screen = self.screens.current
self.setVisible(False)
Display.setup(self)
# If "Show no Logo or Image on startup" is enabled, keep display hidden instead.
if self.is_live:
if Settings().value('advanced/default show nothing'):
self.setVisible(False)
# Build the initial frame.
background_color = QtGui.QColor()
background_color.setNamedColor(Settings().value('advanced/default color'))