From 00cf855c5afebc8ec4c9d95a54b955ca0cb57c20 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2019 21:02:19 +0300 Subject: Import: global variables extracted to a class, thus eliminating the chance of conflicts --- plugins/Import/src/progress.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Import/src/progress.cpp') 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 { -- cgit v1.2.3