diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-16 21:02:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-16 21:02:19 +0300 |
commit | 00cf855c5afebc8ec4c9d95a54b955ca0cb57c20 (patch) | |
tree | 1d1680899eb7770d7c479776f2ee80ff051d8089 /plugins/Import/src/progress.cpp | |
parent | 7704bcb8fc6d74d1d4e4bc6b40b52f2565a7c215 (diff) |
Import: global variables extracted to a class, thus eliminating the chance of conflicts
Diffstat (limited to 'plugins/Import/src/progress.cpp')
-rw-r--r-- | plugins/Import/src/progress.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Import/src/progress.cpp b/plugins/Import/src/progress.cpp index 7b81afaa69..d2bd80a47d 100644 --- a/plugins/Import/src/progress.cpp +++ b/plugins/Import/src/progress.cpp @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. static CProgressPageDlg *pDlg;
-void MirandaImport(void);
-
CProgressPageDlg::CProgressPageDlg() :
CWizardPageDlg(IDD_PROGRESS),
m_list(this, IDC_STATUS),
@@ -113,7 +111,7 @@ void CProgressPageDlg::OnTimer(CTimer*) {
m_timer.Stop();
- MirandaImport();
+ g_pBatch->DoImport();
if (g_bServiceMode && !g_bSendQuit)
DestroyWindow(g_hwndWizard);
else {
|