From 70e9cebbbfe30961b136986b3c163b2bd294b667 Mon Sep 17 00:00:00 2001 From: zjeffer <4633209+zjeffer@users.noreply.github.com> Date: Tue, 13 Jun 2023 00:04:07 +0200 Subject: [PATCH] Fix launching with Adwaita theme by removing unpolish() call when changing theme --- src/theme.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/theme.cpp b/src/theme.cpp index eb97731d..f39716b1 100644 --- a/src/theme.cpp +++ b/src/theme.cpp @@ -41,7 +41,6 @@ void setCSSClassesAndUpdate(QWidget *obj, std::string classNames) // set the class obj->setProperty("class", classNames.c_str()); // update the widget - obj->style()->unpolish(obj); obj->style()->polish(obj); obj->update(); }