浏览代码

Merge pull request #1868 from SuslikV/patch-8

UI: Hide Alpha channel field from the color picker
Jim 6 年之前
父节点
当前提交
a2cf97bfd4
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      UI/properties-view.cpp

+ 1 - 2
UI/properties-view.cpp

@@ -1675,8 +1675,7 @@ bool WidgetInfo::ColorChanged(const char *setting)
 	long long  val   = obs_data_get_int(view->settings, setting);
 	long long  val   = obs_data_get_int(view->settings, setting);
 	QColor     color = color_from_int(val);
 	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
 	/* The native dialog on OSX has all kinds of problems, like closing
 	 * other open QDialogs on exit, and
 	 * other open QDialogs on exit, and