summaryrefslogtreecommitdiff
path: root/no_history/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'no_history/options.cpp')
-rw-r--r--no_history/options.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/no_history/options.cpp b/no_history/options.cpp
index 349a2b0..16d93f4 100644
--- a/no_history/options.cpp
+++ b/no_history/options.cpp
@@ -3,8 +3,6 @@
#include "resource.h"
#include "icons.h"
-DWORD event_timeout;
-
static void SetListGroupIcons(HWND hwndList,HANDLE hFirstItem,HANDLE hParentItem,int *groupChildCount)
{
int typeOfFirst;
@@ -129,7 +127,6 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
SetListGroupIcons(GetDlgItem(hwndDlg,IDC_LIST),(HANDLE)SendDlgItemMessage(hwndDlg,IDC_LIST,CLM_GETNEXTITEM,CLGN_ROOT,0),hItemAll,NULL);
SendDlgItemMessage(hwndDlg, IDC_SPN_TIMEOUT, UDM_SETRANGE, 0, (LPARAM)MAKELONG(60 * 60, 1));
- SetDlgItemInt(hwndDlg, IDC_ED_TIMEOUT, event_timeout, FALSE);
return FALSE;
case WM_SETFOCUS:
@@ -228,13 +225,6 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
}
} while(hContact=(HANDLE)CallService(MS_DB_CONTACT_FINDNEXT,(WPARAM)hContact,0));
- BOOL trans;
- int val = GetDlgItemInt(hwndDlg, IDC_ED_TIMEOUT, &trans, FALSE);
- if(trans) {
- event_timeout = val;
- DBWriteContactSettingDword(0, MODULE, "EventTimeout", event_timeout);
- }
-
return TRUE;
}
}
@@ -275,7 +265,6 @@ int OptInit(WPARAM wParam, LPARAM lParam) {
HANDLE hEventOptInit;
void InitOptions() {
hEventOptInit = HookEvent(ME_OPT_INITIALISE, OptInit);
- event_timeout = DBGetContactSettingDword(0, MODULE, "EventTimeout", 1);
}
void DeinitOptions() {