diff --git a/src/duckstation-qt/interfacesettingswidget.cpp b/src/duckstation-qt/interfacesettingswidget.cpp index d350fe1bb..8bcdb6dae 100644 --- a/src/duckstation-qt/interfacesettingswidget.cpp +++ b/src/duckstation-qt/interfacesettingswidget.cpp @@ -11,6 +11,9 @@ const char* InterfaceSettingsWidget::THEME_NAMES[] = { QT_TRANSLATE_NOOP("MainWindow", "Native"), +#ifdef _WIN32 + QT_TRANSLATE_NOOP("MainWindow", "Classic Windows"), +#endif QT_TRANSLATE_NOOP("MainWindow", "Fusion"), QT_TRANSLATE_NOOP("MainWindow", "Dark Fusion (Gray)"), QT_TRANSLATE_NOOP("MainWindow", "Dark Fusion (Blue)"), @@ -22,7 +25,18 @@ const char* InterfaceSettingsWidget::THEME_NAMES[] = { }; const char* InterfaceSettingsWidget::THEME_VALUES[] = { - "","fusion", "darkfusion", "darkfusionblue", "cobaltsky", "greymatter", "darkruby", "purplerain", nullptr, + "", +#ifdef _WIN32 + "windowsvista", +#endif + "fusion", + "darkfusion", + "darkfusionblue", + "cobaltsky", + "greymatter", + "darkruby", + "purplerain", + nullptr, }; const char* InterfaceSettingsWidget::DEFAULT_THEME_NAME = "darkfusion"; diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 588664f9c..fcbf65cd2 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -2428,6 +2428,13 @@ void MainWindow::setStyleFromSettings() qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #505a70; border: 1px solid white; }"); } +#ifdef _WIN32 + else if (theme == "windowsvista") + { + qApp->setStyle(QStyleFactory::create("windowsvista")); + qApp->setStyleSheet(QString()); + } +#endif else { qApp->setStyle(s_unthemed_style_name);