From a955304a1f51e568a19b57d9802f638f5dcdb940 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 29 Nov 2012 03:29:57 +0900 Subject: [PATCH] force xp theme on windows --- aqt/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aqt/main.py b/aqt/main.py index 0e5cda4cf..a7bec758d 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -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']: