From 92dee4809d57f97421578a4421e7d9745c369f9a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Aug 2020 17:50:10 +0300 Subject: fixes #2526 (SmileyAdd: remove "Disable stickers" option) --- plugins/SmileyAdd/src/options.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/SmileyAdd/src/options.cpp') diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index f8c6183803..20ec3f99be 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -37,7 +37,6 @@ void OptionsType::Save(void) g_plugin.setByte("AnimateDlg", AnimateDlg); g_plugin.setByte("InputSmileys", InputSmileys); g_plugin.setByte("DCursorSmiley", DCursorSmiley); - g_plugin.setByte("DisableCustom", DisableCustom); g_plugin.setByte("HQScaling", HQScaling); g_plugin.setDword("MaxCustomSmileySize", MaxCustomSmileySize); g_plugin.setDword("MinSmileySize", MinSmileySize); @@ -57,7 +56,6 @@ void OptionsType::Load(void) AnimateDlg = g_plugin.getByte("AnimateDlg", TRUE) != 0; InputSmileys = g_plugin.getByte("InputSmileys", TRUE) != 0; DCursorSmiley = g_plugin.getByte("DCursorSmiley", FALSE) != 0; - DisableCustom = g_plugin.getByte("DisableCustom", FALSE) != 0; HQScaling = g_plugin.getByte("HQScaling", FALSE) != 0; SelWndBkgClr = g_plugin.getDword("SelWndBkgClr", GetSysColor(COLOR_WINDOW)); @@ -318,7 +316,6 @@ public: CheckDlgButton(m_hwnd, IDC_ANIMATEDLG, opt.AnimateDlg ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(m_hwnd, IDC_INPUTSMILEYS, opt.InputSmileys ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(m_hwnd, IDC_DCURSORSMILEY, opt.DCursorSmiley ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(m_hwnd, IDC_DISABLECUSTOM, opt.DisableCustom ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(m_hwnd, IDC_HQSCALING, opt.HQScaling ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(m_hwnd, IDC_SORTING_HORIZONTAL, opt.HorizontalSorting ? BST_CHECKED : BST_UNCHECKED); @@ -382,7 +379,6 @@ public: opt.AnimateDlg = IsDlgButtonChecked(m_hwnd, IDC_ANIMATEDLG) == BST_CHECKED; opt.InputSmileys = IsDlgButtonChecked(m_hwnd, IDC_INPUTSMILEYS) == BST_CHECKED; opt.DCursorSmiley = IsDlgButtonChecked(m_hwnd, IDC_DCURSORSMILEY) == BST_CHECKED; - opt.DisableCustom = IsDlgButtonChecked(m_hwnd, IDC_DISABLECUSTOM) == BST_CHECKED; opt.HQScaling = IsDlgButtonChecked(m_hwnd, IDC_HQSCALING) == BST_CHECKED; opt.HorizontalSorting = IsDlgButtonChecked(m_hwnd, IDC_SORTING_HORIZONTAL) == BST_CHECKED; -- cgit v1.2.3