diff --git a/UI/properties-view.cpp b/UI/properties-view.cpp index 443136637..350cf4737 100644 --- a/UI/properties-view.cpp +++ b/UI/properties-view.cpp @@ -1694,7 +1694,7 @@ bool WidgetInfo::ColorChanged(const char *setting) * other open QDialogs on exit, and * https://bugreports.qt-project.org/browse/QTBUG-34532 */ -#ifdef __APPLE__ +#ifndef _WIN32 options |= QColorDialog::DontUseNativeDialog; #endif @@ -1728,7 +1728,7 @@ bool WidgetInfo::FontChanged(const char *setting) QFontDialog::FontDialogOptions options; -#ifdef __APPLE__ +#ifndef _WIN32 options = QFontDialog::DontUseNativeDialog; #endif diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index a830ce5bd..6bb34ec53 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -7482,7 +7482,7 @@ void OBSBasic::ColorChange() obs_data_get_string(curPrivData, "color"); const char *customColor = *oldColor != 0 ? oldColor : "#55FF0000"; -#ifdef __APPLE__ +#ifndef _WIN32 options |= QColorDialog::DontUseNativeDialog; #endif