summaryrefslogtreecommitdiff
path: root/plugins/Import/src/miranda.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-20 22:50:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-20 22:50:52 +0300
commit8c18d1fe6f83807116c065e548ee6b567f4b49a1 (patch)
treec01b9461b4ee00ffae0ec9f028087b67d7c49feb /plugins/Import/src/miranda.cpp
parent236dfc4581f03c670f4b5a5b076b2910ae25459b (diff)
fixes #1776 (any traces of URL* related constants removed)
Diffstat (limited to 'plugins/Import/src/miranda.cpp')
-rw-r--r--plugins/Import/src/miranda.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/Import/src/miranda.cpp b/plugins/Import/src/miranda.cpp
index 9dea9f6815..39559cdf4a 100644
--- a/plugins/Import/src/miranda.cpp
+++ b/plugins/Import/src/miranda.cpp
@@ -240,8 +240,8 @@ void CMirandaOptionsPageDlg::OnNext()
//=======================================================================================
// Advanced options dialog
-static const UINT InControls[] = { IDC_IN_MSG, IDC_IN_URL, IDC_IN_FT, IDC_IN_OTHER };
-static const UINT OutControls[] = { IDC_OUT_MSG, IDC_OUT_URL, IDC_OUT_FT, IDC_OUT_OTHER };
+static const UINT InControls[] = { IDC_IN_MSG, IDC_IN_FT, IDC_IN_OTHER };
+static const UINT OutControls[] = { IDC_OUT_MSG, IDC_OUT_FT, IDC_OUT_OTHER };
static const UINT SysControls[] = { IDC_CONTACTS, IDC_SYSTEM };
CMirandaAdvOptionsPageDlg::CMirandaAdvOptionsPageDlg() :
@@ -250,7 +250,6 @@ CMirandaAdvOptionsPageDlg::CMirandaAdvOptionsPageDlg() :
chkFT(this, IDC_FT),
chkAll(this, IDC_ALL),
chkMsg(this, IDC_MSG),
- chkUrl(this, IDC_URL),
chkOther(this, IDC_OTHER),
chkSince(this, IDC_SINCE),
chkOutgoing(this, IDC_OUTGOING),
@@ -261,7 +260,6 @@ CMirandaAdvOptionsPageDlg::CMirandaAdvOptionsPageDlg() :
chkSince.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_Since);
chkAll.OnChange = chkOutgoing.OnChange = chkIncoming.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_All);
chkMsg.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_Msg);
- chkUrl.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_Url);
chkFT.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_FT);
chkOther.OnChange = Callback(this, &CMirandaAdvOptionsPageDlg::onChange_Other);
}
@@ -297,8 +295,6 @@ void CMirandaAdvOptionsPageDlg::OnNext()
// incoming
if (IsDlgButtonChecked(m_hwnd, IDC_IN_MSG))
g_iImportOptions |= IOPT_MSGRECV;
- if (IsDlgButtonChecked(m_hwnd, IDC_IN_URL))
- g_iImportOptions |= IOPT_URLRECV;
if (IsDlgButtonChecked(m_hwnd, IDC_IN_FT))
g_iImportOptions |= IOPT_FILERECV;
if (IsDlgButtonChecked(m_hwnd, IDC_IN_OTHER))
@@ -307,8 +303,6 @@ void CMirandaAdvOptionsPageDlg::OnNext()
// outgoing
if (IsDlgButtonChecked(m_hwnd, IDC_OUT_MSG))
g_iImportOptions |= IOPT_MSGSENT;
- if (IsDlgButtonChecked(m_hwnd, IDC_OUT_URL))
- g_iImportOptions |= IOPT_URLSENT;
if (IsDlgButtonChecked(m_hwnd, IDC_OUT_FT))
g_iImportOptions |= IOPT_FILESENT;
if (IsDlgButtonChecked(m_hwnd, IDC_OUT_OTHER))
@@ -363,12 +357,6 @@ void CMirandaAdvOptionsPageDlg::onChange_Msg(CCtrlCheck*)
CheckDlgButton(m_hwnd, IDC_OUT_MSG, IsDlgButtonChecked(m_hwnd, IDC_OUT_MSG) == BST_UNCHECKED ? BST_CHECKED : BST_UNCHECKED);
}
-void CMirandaAdvOptionsPageDlg::onChange_Url(CCtrlCheck*)
-{
- CheckDlgButton(m_hwnd, IDC_IN_URL, IsDlgButtonChecked(m_hwnd, IDC_IN_URL) == BST_UNCHECKED ? BST_CHECKED : BST_UNCHECKED);
- CheckDlgButton(m_hwnd, IDC_OUT_URL, IsDlgButtonChecked(m_hwnd, IDC_OUT_URL) == BST_UNCHECKED ? BST_CHECKED : BST_UNCHECKED);
-}
-
void CMirandaAdvOptionsPageDlg::onChange_FT(CCtrlCheck*)
{
CheckDlgButton(m_hwnd, IDC_IN_FT, IsDlgButtonChecked(m_hwnd, IDC_IN_FT) == BST_UNCHECKED ? BST_CHECKED : BST_UNCHECKED);