UI: Use Qt dialogs for Font & Color Pickers on Linux

This fixes a hang on Ubuntu when closing the
dialogs after leaving them open for a time.
This commit is contained in:
Matt Gajownik
2020-03-28 23:15:25 +11:00
parent 094edda866
commit a9a19cf351
2 changed files with 3 additions and 3 deletions

View File

@@ -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