mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
standard progress bar on mac
This commit is contained in:
parent
05b6a90470
commit
a91a6d3ad8
1 changed files with 2 additions and 2 deletions
|
@ -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("""* {
|
||||
|
|
Loading…
Reference in a new issue