From 7bbd45f8d00627a7d408fee29aa497adc61abb9e Mon Sep 17 00:00:00 2001 From: SuslikV Date: Sat, 4 May 2019 16:55:31 +0300 Subject: [PATCH] UI: Hide Alpha channel field from the color picker Do not allow the user to select the alpha component of a color. --- UI/properties-view.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/properties-view.cpp b/UI/properties-view.cpp index 4f5fae19b..2d5b2e3ae 100644 --- a/UI/properties-view.cpp +++ b/UI/properties-view.cpp @@ -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