forked from openlp/openlp
Make the dock widget style changes Windows-only.
This commit is contained in:
parent
13305ab6bb
commit
4989a32b2f
@ -23,6 +23,7 @@
|
|||||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
@ -73,6 +74,7 @@ class OpenLP(QtGui.QApplication):
|
|||||||
QtCore.SIGNAL(u'process_events'), self.processEvents)
|
QtCore.SIGNAL(u'process_events'), self.processEvents)
|
||||||
self.setApplicationName(u'OpenLP')
|
self.setApplicationName(u'OpenLP')
|
||||||
self.setApplicationVersion(applicationVersion)
|
self.setApplicationVersion(applicationVersion)
|
||||||
|
if os.name == u'nt':
|
||||||
self.setStyleSheet(application_stylesheet)
|
self.setStyleSheet(application_stylesheet)
|
||||||
show_splash = str_to_bool(ConfigHelper.get_registry().get_value(
|
show_splash = str_to_bool(ConfigHelper.get_registry().get_value(
|
||||||
u'general', u'show splash', True))
|
u'general', u'show splash', True))
|
||||||
|
Loading…
Reference in New Issue
Block a user