diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-07-09 03:47:04 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-07-09 03:47:04 +0200 |
| commit | 41762940d6bd6350901f12662248b95b91b51e6c (patch) | |
| tree | 9aa1c2290aaae63076d7662caba7af725c6062a4 /src/yuzu/main_window.cpp | |
| parent | c2e74a93804f0ba4e7e87a95e8881bbe817aa0a4 (diff) | |
[common] rework BitField and BitUtil, use concepts whenever possible (#4076)
test no regressions especially on Liiinux
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4076
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/yuzu/main_window.cpp')
| -rw-r--r-- | src/yuzu/main_window.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index bc74f5da79..2801fbd321 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -4563,8 +4563,7 @@ static void AdjustLinkColor() { } void MainWindow::UpdateUITheme() { - const QString default_theme = QString::fromUtf8( - UISettings::themes[static_cast<size_t>(UISettings::default_theme)].second); + const QString default_theme = QString::fromUtf8(UISettings::themes[size_t(UISettings::default_theme)].second); QString current_theme = QString::fromStdString(UISettings::values.theme); if (current_theme.isEmpty()) @@ -4575,8 +4574,7 @@ void MainWindow::UpdateUITheme() { AdjustLinkColor(); #else if (current_theme == QStringLiteral("default") || current_theme == QStringLiteral("colorful")) { - QIcon::setThemeName(current_theme == QStringLiteral("colorful") ? current_theme - : startup_icon_theme); + QIcon::setThemeName(current_theme == QStringLiteral("colorful") ? current_theme : startup_icon_theme); QIcon::setThemeSearchPaths(QStringList(default_theme_paths)); if (isDarkMode()) { current_theme = QStringLiteral("default_dark"); |
