diff --git a/Source/Core/DolphinQt/DolphinQt.vcxproj b/Source/Core/DolphinQt/DolphinQt.vcxproj
index 022db86cd2..871936ec58 100644
--- a/Source/Core/DolphinQt/DolphinQt.vcxproj
+++ b/Source/Core/DolphinQt/DolphinQt.vcxproj
@@ -45,6 +45,7 @@
Use
pch_qt.h
pch_qt.h
+ false
DolphinQt.manifest;%(AdditionalManifestFiles)
diff --git a/Source/Core/DolphinQt/Settings.cpp b/Source/Core/DolphinQt/Settings.cpp
index fca24370b7..326ae587cf 100644
--- a/Source/Core/DolphinQt/Settings.cpp
+++ b/Source/Core/DolphinQt/Settings.cpp
@@ -199,7 +199,7 @@ void Settings::ApplyStyle()
// which would select Qt's default theme, but unlike other OSes we don't automatically get a
// default dark theme on Windows when the user has selected dark mode in the Windows settings.
// So manually check if the user wants dark mode and, if yes, load our embedded dark theme.
- if (style_type == StyleType::Dark || (style_type != StyleType::Light && IsSystemDark()))
+ if (style_type == StyleType::Dark && IsSystemDark())
{
QFile file(QStringLiteral(":/dolphin_dark_win/dark.qss"));
if (file.open(QFile::ReadOnly))
diff --git a/Source/Core/DolphinQt/Settings/InterfacePane.cpp b/Source/Core/DolphinQt/Settings/InterfacePane.cpp
index 06aac545da..8ca4b8925b 100644
--- a/Source/Core/DolphinQt/Settings/InterfacePane.cpp
+++ b/Source/Core/DolphinQt/Settings/InterfacePane.cpp
@@ -12,6 +12,7 @@
#include
#include
#include
+#include
#include "Common/CommonPaths.h"
#include "Common/FileSearch.h"
@@ -130,27 +131,27 @@ void InterfacePane::CreateUI()
const QString qt_name = QString::fromStdString(PathToFileName(path));
m_combobox_theme->addItem(qt_name);
}
-
+#ifdef _WIN32
// User Style Combobox
m_combobox_userstyle = new QComboBox;
m_label_userstyle = new QLabel(tr("Style:"));
combobox_layout->addRow(m_label_userstyle, m_combobox_userstyle);
-
auto userstyle_search_results = Common::DoFileSearch({File::GetUserPath(D_STYLES_IDX)});
- m_combobox_userstyle->addItem(tr("System"), static_cast(Settings::StyleType::System));
+ auto current = QOperatingSystemVersionBase::current();
- // TODO: Support forcing light/dark on other OSes too.
-#ifdef _WIN32
- m_combobox_userstyle->addItem(tr("Light"), static_cast(Settings::StyleType::Light));
- m_combobox_userstyle->addItem(tr("Dark"), static_cast(Settings::StyleType::Dark));
-#endif
+ if (current <= QOperatingSystemVersion(QOperatingSystemVersion::Windows, 10))
+ {
+ m_combobox_userstyle->addItem(tr("Windows 11"), static_cast(Settings::StyleType::Light));
+ m_combobox_userstyle->addItem(tr("Windows 10"), static_cast(Settings::StyleType::Dark));
+ }
for (const std::string& path : userstyle_search_results)
{
const QFileInfo file_info(QString::fromStdString(path));
m_combobox_userstyle->addItem(file_info.completeBaseName(), file_info.fileName());
}
+#endif
// Checkboxes
m_checkbox_use_builtin_title_database = new QCheckBox(tr("Use Built-In Database of Game Names"));
diff --git a/Source/VSProps/QtCompile.props b/Source/VSProps/QtCompile.props
index fb89cf5d05..0494342dca 100644
--- a/Source/VSProps/QtCompile.props
+++ b/Source/VSProps/QtCompile.props
@@ -113,7 +113,7 @@
-
+