mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
fix: correct dark mode detection function call
This commit is contained in:
@@ -11,7 +11,7 @@ debug = True
|
|||||||
def run_gui():
|
def run_gui():
|
||||||
state_debug(debug)
|
state_debug(debug)
|
||||||
app = QtWidgets.QApplication([])
|
app = QtWidgets.QApplication([])
|
||||||
if darkdetect.isDark():
|
if darkdetect.isDark:
|
||||||
app.setStyleSheet(qdarktheme.load_stylesheet("dark"))
|
app.setStyleSheet(qdarktheme.load_stylesheet("dark"))
|
||||||
else:
|
else:
|
||||||
app.setStyleSheet(qdarktheme.load_stylesheet("light"))
|
app.setStyleSheet(qdarktheme.load_stylesheet("light"))
|
||||||
|
|||||||
Reference in New Issue
Block a user