From 2623684b3f63e915fad9791bcb7a0d8c3606ed2f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Nov 2024 13:41:35 +0300 Subject: useless code removed --- plugins/Scriver/src/msgs.h | 2 -- plugins/TabSRMM/src/msgoptions.cpp | 5 ----- 2 files changed, 7 deletions(-) (limited to 'plugins') diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h index 2074447d14..ea3c677e43 100644 --- a/plugins/Scriver/src/msgs.h +++ b/plugins/Scriver/src/msgs.h @@ -213,8 +213,6 @@ extern int fontOptionsListSize; #define LOADHISTORY_COUNT 1 #define LOADHISTORY_TIME 2 -#define SRMM_MODULE "SRMM" - #define SRMSGSET_BKGCOLOUR "BkgColour" #define SRMSGDEFSET_BKGCOLOUR GetSysColor(COLOR_WINDOW) #define SRMSGSET_INPUTBKGCOLOUR "InputBkgColour" diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index f0ba38a0ad..10f6d5a091 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -805,14 +805,9 @@ public: break; case LOADHISTORY_COUNT: chkLoadCount.SetState(true); - Utils::enableDlgControl(m_hwnd, IDC_LOADCOUNTN, true); - spnLoadCount.Enable(true); break; case LOADHISTORY_TIME: chkLoadTime.SetState(true); - Utils::enableDlgControl(m_hwnd, IDC_LOADTIMEN, true); - spnLoadTime.Enable(true); - Utils::enableDlgControl(m_hwnd, IDC_STMINSOLD, true); break; } -- cgit v1.2.3