don't set palette

This commit is contained in:
dries.k
2024-05-18 00:07:59 +02:00
parent a8d77773b9
commit 4a1f1804c1

View File

@@ -18,7 +18,6 @@ def set_theme(app: QtWidgets.QApplication):
with open(get_abs_path(f"gotify_tray/gui/themes/{theme}/style.qss"), "r") as f: with open(get_abs_path(f"gotify_tray/gui/themes/{theme}/style.qss"), "r") as f:
stylesheet += f.read() stylesheet += f.read()
app.setPalette(app.style().standardPalette())
app.setStyleSheet(stylesheet) app.setStyleSheet(stylesheet)