Make the dock widget style changes Windows-only.

This commit is contained in:
Raoul Snyman 2009-10-18 00:13:32 +02:00
parent 13305ab6bb
commit 4989a32b2f

View File

@ -23,6 +23,7 @@
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
###############################################################################
import os
import sys
import logging
@ -73,6 +74,7 @@ class OpenLP(QtGui.QApplication):
QtCore.SIGNAL(u'process_events'), self.processEvents)
self.setApplicationName(u'OpenLP')
self.setApplicationVersion(applicationVersion)
if os.name == u'nt':
self.setStyleSheet(application_stylesheet)
show_splash = str_to_bool(ConfigHelper.get_registry().get_value(
u'general', u'show splash', True))