Rare: Unset QT_QPA_PLATFORMTHEME at startup
It can mess up theming.
This commit is contained in:
parent
c3c9b0f059
commit
47f153e7c2
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ def main() -> int:
|
|||
if sys.stderr is None:
|
||||
sys.stderr = open(os.devnull, 'w')
|
||||
|
||||
os.environ["QT_QPA_PLATFORMTHEME"] = ""
|
||||
|
||||
# fix cx_freeze
|
||||
multiprocessing.freeze_support()
|
||||
|
||||
|
|
Loading…
Reference in a new issue