diff options
author | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-10 14:04:50 -0700 |
---|---|---|
committer | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-11 00:00:29 -0700 |
commit | 38dd6dc190313e507db21f6aaeda90b94e9b9768 (patch) | |
tree | 935238aaed3459b0f642113cd7c8a77cdf182d28 /src/yuzu/uisettings.h | |
parent | bf3c6f88126d0167329c4a18759cdabc7584f8b3 (diff) |
ui: Set Link Color when setting theme
Long story short, QT doesn't allow the link colors to be set via their stylesheets.
There are two ways to work with this, specify the color manually for every link (See the About dialog) The other way is to change the default palette.
IsDarkTheme is copy/pasted from src/yuzu/debugger/wait_tree.cpp
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r-- | src/yuzu/uisettings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index cc5aee382..15ba9ea17 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h @@ -17,6 +17,8 @@ namespace UISettings { +bool IsDarkTheme(); + struct ContextualShortcut { QString keyseq; QString controller_keyseq; |