summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 14:17:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 14:17:28 +0300
commit81c8606dd9aa39067353354aa4523be84ef51fd1 (patch)
tree3f157c302093074552d0f792c481c741277cd531 /plugins/StatusManager/src
parent73d12d0f6eb5c673a951eec94ddf5cdeeacde369 (diff)
CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE
Diffstat (limited to 'plugins/StatusManager/src')
-rw-r--r--plugins/StatusManager/src/StartupStatus/ss_options.cpp6
-rw-r--r--plugins/StatusManager/src/options.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/ss_options.cpp b/plugins/StatusManager/src/StartupStatus/ss_options.cpp
index 1f56ccb687..dd6e877083 100644
--- a/plugins/StatusManager/src/StartupStatus/ss_options.cpp
+++ b/plugins/StatusManager/src/StartupStatus/ss_options.cpp
@@ -140,7 +140,7 @@ class CCmdlDlg : public CDlgBase
public:
CCmdlDlg(int iProfileNo)
- : CDlgBase(g_plugin.getInst(), IDD_CMDLOPTIONS),
+ : CDlgBase(g_plugin, IDD_CMDLOPTIONS),
btnCopy(this, IDC_COPY),
btnLink(this, IDC_SHORTCUT),
ps(protoList)
@@ -453,7 +453,7 @@ class CAddProfileDlg : public CDlgBase
public:
CAddProfileDlg()
- : CDlgBase(g_plugin.getInst(), IDD_ADDPROFILE),
+ : CDlgBase(g_plugin, IDD_ADDPROFILE),
btnOk(this, IDOK),
edtProfile(this, IDC_PROFILENAME)
{
@@ -588,7 +588,7 @@ class CSSAdvancedOptDlg : public CDlgBase
public:
CSSAdvancedOptDlg() :
- CDlgBase(g_plugin.getInst(), IDD_OPT_STATUSPROFILES),
+ CDlgBase(g_plugin, IDD_OPT_STATUSPROFILES),
cmbProfile(this, IDC_PROFILE),
btnAdd(this, IDC_ADDPROFILE),
btnHelp(this, IDC_VARIABLESHELP),
diff --git a/plugins/StatusManager/src/options.cpp b/plugins/StatusManager/src/options.cpp
index 5f5d73aec3..db81aca285 100644
--- a/plugins/StatusManager/src/options.cpp
+++ b/plugins/StatusManager/src/options.cpp
@@ -14,7 +14,7 @@ class CSubPluginsOptionsDlg : public CPluginDlgBase
public:
CSubPluginsOptionsDlg()
- : CPluginDlgBase(g_plugin.getInst(), IDD_OPT_SUBPLUGINS, MODULENAME),
+ : CPluginDlgBase(g_plugin, IDD_OPT_SUBPLUGINS, MODULENAME),
m_enableKeepStatus(this, IDC_ENABLE_KEEPSTATUS),
m_enableStartupStatus(this, IDC_ENABLE_STARTUPSTATUS),
m_enableAdvancedAutoAway(this, IDC_ENABLE_ADVANCEDAUTOAWAY)