mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
force xp theme on windows
This commit is contained in:
parent
91c6f927e4
commit
a955304a1f
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ class AnkiQt(QMainWindow):
|
|||
self.state = "startup"
|
||||
aqt.mw = self
|
||||
self.app = app
|
||||
if isWin:
|
||||
self._xpstyle = QStyleFactory.create("WindowsXP")
|
||||
self.app.setStyle(self._xpstyle)
|
||||
self.pm = profileManager
|
||||
# running 2.0 for the first time?
|
||||
if self.pm.meta['firstRun']:
|
||||
|
|
Loading…
Reference in a new issue