UI: Hide Alpha channel field from the color picker

Do not allow the user to select the alpha component of a color.
This commit is contained in:
SuslikV authored and GitHub committed 2019-05-04 16:55:31 +03:00
1 parent 131cfaf4f8
commit 7bbd45f8d0
1 file changed
+1 -2
+1 -2
View File
@@ -1675,8 +1675,7 @@ bool WidgetInfo::ColorChanged(const char *setting)
long long val = obs_data_get_int(view->settings, setting);
QColor color = color_from_int(val);
QColorDialog::ColorDialogOptions options =
QColorDialog::ShowAlphaChannel;
QColorDialog::ColorDialogOptions options = 0;
/* The native dialog on OSX has all kinds of problems, like closing
* other open QDialogs on exit, and