summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-10 14:30:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-10 14:30:56 +0300
commit21ffdeca1a3f8d9f65dc9b33d9b2379ba0f1a4ac (patch)
treeca9605417b7b53fb3a9cba503371054d2704f14a /src/mir_app
parenta223e58bdb2838350395d723c12f4a3bd76f3453 (diff)
for #629: message removing for Discord
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/clui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/clui.cpp b/src/mir_app/src/clui.cpp
index 568d839e17..3f8cc664c2 100644
--- a/src/mir_app/src/clui.cpp
+++ b/src/mir_app/src/clui.cpp
@@ -128,7 +128,7 @@ static INT_PTR MenuItem_RenameContact(WPARAM, LPARAM)
/////////////////////////////////////////////////////////////////////////////////////////
-class CDeleteDlg : public CDlgBase
+class CDeleteContactDlg : public CDlgBase
{
MCONTACT m_hContact;
CCtrlCheck chkDelContact, chkDelHistory, chkForEveryone;
@@ -138,7 +138,7 @@ public:
bool bDelContact = true, bDelHistory = false, bForEveryone = false;
bool bHasServer, bHasHistory;
- CDeleteDlg(MCONTACT hContact) :
+ CDeleteContactDlg(MCONTACT hContact) :
CDlgBase(g_plugin, IDD_DELETECONTACT),
m_hContact(hContact),
chkDelContact(this, IDC_DELSERVERCONTACT),
@@ -150,7 +150,7 @@ public:
bHasHistory = ProtoServiceExists(szProto, PS_EMPTY_SRV_HISTORY);
bForEveryone = (CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_4) & PF4_DELETEFORALL) != 0;
- chkDelHistory.OnChange = Callback(this, &CDeleteDlg::onChange_Server);
+ chkDelHistory.OnChange = Callback(this, &CDeleteContactDlg::onChange_Server);
}
bool OnInitDialog() override
@@ -204,7 +204,7 @@ public:
static INT_PTR MenuItem_DeleteContact(WPARAM hContact, LPARAM lParam)
{
- CDeleteDlg dlg(hContact);
+ CDeleteContactDlg dlg(hContact);
if (dlg.szProto == nullptr)
return 0;