summaryrefslogtreecommitdiff
path: root/plugins/Import/src/progress.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-05-16 21:02:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-05-16 21:02:19 +0300
commit00cf855c5afebc8ec4c9d95a54b955ca0cb57c20 (patch)
tree1d1680899eb7770d7c479776f2ee80ff051d8089 /plugins/Import/src/progress.cpp
parent7704bcb8fc6d74d1d4e4bc6b40b52f2565a7c215 (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.cpp4
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 {