OSDN Git Service

設定ファイルの読み込み・保存に関するコードをSettingManagerクラスに移動
[opentween/open-tween.git] / OpenTween / Setting / SettingCommon.cs
index 1a38d49..ac7d1cf 100644 (file)
@@ -29,17 +29,13 @@ using System.Xml.Serialization;
 using System.Collections.Generic;
 using System.Windows.Forms;
 using OpenTween.Thumbnail;
+using OpenTween.Setting;
 
 namespace OpenTween
 {
     public class SettingCommon : SettingBase<SettingCommon>
     {
-        public static SettingCommon Instance { get; internal set; }
-
-        static SettingCommon()
-        {
-            Instance = new SettingCommon();
-        }
+        public static SettingCommon Instance => SettingManager.Common;
 
         #region "Settingクラス基本"
         public static SettingCommon Load()
@@ -246,6 +242,9 @@ namespace OpenTween
         public bool IsUseNotifyGrowl = false;
         public bool ForceIPv4 = false;
         public bool ErrorReportAnonymous = true;
+
+        /// <summary>pic.twitter.com への画像アップロード時に JPEG への変換を回避する</summary>
+        public bool AlphaPNGWorkaround { get; set; } = false;
     }
 
     public class UserAccount