From c8fda9a3250d3a14545b3dbdc705ca629909415a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 21 Aug 2024 18:26:10 +0300 Subject: fixes #4588 (Clist_modern: remove ICQ support) --- plugins/Clist_modern/src/modern_clcopts.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/plugins/Clist_modern/src/modern_clcopts.cpp b/plugins/Clist_modern/src/modern_clcopts.cpp index 0710c43f8d..a556d00ce9 100644 --- a/plugins/Clist_modern/src/modern_clcopts.cpp +++ b/plugins/Clist_modern/src/modern_clcopts.cpp @@ -967,26 +967,6 @@ static INT_PTR CALLBACK DlgProcClistWindowOpts(HWND hwndDlg, UINT msg, WPARAM wP db_free(&dbv); SendDlgItemMessage(hwndDlg, IDC_TITLETEXT, CB_ADDSTRING, 0, (LPARAM)MIRANDANAME); - - char szUin[20]; - mir_snprintf(szUin, "%u", db_get_dw(0, "ICQ", "UIN", 0)); - SendDlgItemMessage(hwndDlg, IDC_TITLETEXT, CB_ADDSTRING, 0, (LPARAM)szUin); - - if (!db_get_s(0, "ICQ", "Nick", &dbv)) { - SendDlgItemMessage(hwndDlg, IDC_TITLETEXT, CB_ADDSTRING, 0, (LPARAM)dbv.pszVal); - db_free(&dbv); - dbv.pszVal = nullptr; - } - if (!db_get_s(0, "ICQ", "FirstName", &dbv)) { - SendDlgItemMessage(hwndDlg, IDC_TITLETEXT, CB_ADDSTRING, 0, (LPARAM)dbv.pszVal); - db_free(&dbv); - dbv.pszVal = nullptr; - } - if (!db_get_s(0, "ICQ", "e-mail", &dbv)) { - SendDlgItemMessage(hwndDlg, IDC_TITLETEXT, CB_ADDSTRING, 0, (LPARAM)dbv.pszVal); - db_free(&dbv); - dbv.pszVal = nullptr; - } } CheckDlgButton(hwndDlg, IDC_TRANSPARENT, g_plugin.getByte("Transparent", SETTING_TRANSPARENT_DEFAULT) ? BST_CHECKED : BST_UNCHECKED); if (BST_UNCHECKED == IsDlgButtonChecked(hwndDlg, IDC_TRANSPARENT)) { -- cgit v1.2.3