Skip to content

Commit

Permalink
Update themesupport.cpp
Browse files Browse the repository at this point in the history
Workaround for Windows.
  • Loading branch information
rodlie committed Aug 11, 2024
1 parent b05b90a commit a897bb0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/core/themesupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit a897bb0

Please sign in to comment.