From a897bb07377f01e11301170ec804282c439a5a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Sun, 11 Aug 2024 09:06:41 +0200 Subject: [PATCH] Update themesupport.cpp Workaround for Windows. --- src/core/themesupport.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/core/themesupport.cpp b/src/core/themesupport.cpp index 04cb8e3fc..fe63256b4 100644 --- a/src/core/themesupport.cpp +++ b/src/core/themesupport.cpp @@ -191,6 +191,16 @@ const QString ThemeSupport::getThemeStyle(int iconSize) css = stylesheet.readAll(); stylesheet.close(); } +#ifdef Q_OS_WIN + css.replace("/scalable/actions/go-up.svg", + "/%7x%7/actions/go-up.png"); + css.replace("/scalable/actions/go-down.svg", + "/%7x%7/actions/go-down.png"); + css.replace("/scalable/actions/dialog-ok.svg", + "/%7x%7/actions/dialog-ok.png"); + css.replace("/scalable/actions/dialog-cancel.svg", + "/%7x%7/actions/dialog-cancel.png"); +#endif return css.arg(getThemeButtonBaseColor().name(), getThemeButtonBorderColor().name(), getThemeBaseDarkerColor().name(),