This commit is contained in:
Kovid Goyal 2017-05-17 21:04:28 +05:30
parent fafd278b6e
commit 5790960a00
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1078,7 +1078,7 @@ class Application(QApplication):
if iswindows or isosx:
using_calibre_style = gprefs['ui_style'] != 'system'
else:
using_calibre_style = 'CALIBRE_USE_SYSTEM_THEME' in os.environ
using_calibre_style = 'CALIBRE_USE_SYSTEM_THEME' not in os.environ
if force_calibre_style:
using_calibre_style = True
self.using_calibre_style = using_calibre_style