Update settin.py

This commit is contained in:
恍兮惚兮 2024-04-07 00:25:15 +08:00
parent 5dcec35687
commit 17a5a4ad9a

View File

@ -252,6 +252,8 @@ class Settin(closeashidewindow):
dark = True
elif dl == 2:
dark = darkdetect.isDark()
if dark is None:
dark = False
darklight = ["light", "dark"][dark]
class WindowEventFilter(QObject):