standard progress bar on mac

This commit is contained in:
Damien Elmes 2009-03-14 11:59:00 +09:00
parent 05b6a90470
commit a91a6d3ad8

View file

@ -36,8 +36,8 @@ class SplashScreen(object):
self.splash = QSplashScreen(self.pixmap)
self.prog = QProgressBar(self.splash)
self.prog.setMaximum(max)
if (QApplication.instance().style().objectName() != "plastique"):
#and sys.platform.startswith("win32")):
if (QApplication.instance().style().objectName() != "plastique"
and not sys.platform.startswith("darwin")):
self.style = QStyleFactory.create("plastique")
self.prog.setStyle(self.style)
self.prog.setStyleSheet("""* {