mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Make CALIBRE_USE_SYSTEM_THEME=0 the same as unset
This commit is contained in:
parent
5f9767c40b
commit
171e82e19c
@ -928,7 +928,7 @@ class Application(QApplication):
|
|||||||
if iswindows or isosx:
|
if iswindows or isosx:
|
||||||
using_calibre_style = gprefs['ui_style'] != 'system'
|
using_calibre_style = gprefs['ui_style'] != 'system'
|
||||||
else:
|
else:
|
||||||
using_calibre_style = 'CALIBRE_USE_SYSTEM_THEME' not in os.environ
|
using_calibre_style = os.environ.get('CALIBRE_USE_SYSTEM_THEME', '0') == '0'
|
||||||
if force_calibre_style:
|
if force_calibre_style:
|
||||||
using_calibre_style = True
|
using_calibre_style = True
|
||||||
self.using_calibre_style = using_calibre_style
|
self.using_calibre_style = using_calibre_style
|
||||||
|
Loading…
x
Reference in New Issue
Block a user