mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Fix non-native message boxes in Dark Fusion on MacOS
This commit is contained in:
@@ -247,7 +247,7 @@ void QtUtils::SetMessageBoxStyle(QMessageBox* const dlg, Qt::WindowModality moda
|
||||
dlg->setWindowModality(modality);
|
||||
#ifdef __APPLE__
|
||||
// Can't have a stylesheet set even if it doesn't affect the widget.
|
||||
if (QtHost::NativeThemeStylesheetNeedsUpdate())
|
||||
if (QtHost::IsStyleSheetApplicationTheme() || QtHost::NativeThemeStylesheetNeedsUpdate())
|
||||
{
|
||||
dlg->setStyleSheet("");
|
||||
dlg->setAttribute(Qt::WA_StyleSheet, false);
|
||||
|
||||
Reference in New Issue
Block a user