UI: Use native color dialog on macOS

This commit is contained in:
gxalpha 2023-01-25 15:11:59 +01:00 • committed by Sebastian Beckmann
commit e438037960
4 changed files with 16 additions and 9 deletions

View file

@ -36,7 +36,8 @@ QColor OBSBasicSettings::GetColor(uint32_t colorVal, QString label)
{
QColorDialog::ColorDialogOptions options;
#ifndef _WIN32
#ifdef __linux__
// TODO: Revisit hang on Ubuntu with native dialog
options |= QColorDialog::DontUseNativeDialog;
#endif