From a91a6d3ad83e816703727a2190ecae2b2fe131e7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 14 Mar 2009 11:59:00 +0900 Subject: [PATCH] standard progress bar on mac --- ankiqt/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ankiqt/__init__.py b/ankiqt/__init__.py index dde4f501e..ccc35759b 100644 --- a/ankiqt/__init__.py +++ b/ankiqt/__init__.py @@ -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("""* {