Change Qt smart pointers with wx ones to fix compilation

This commit is contained in:
Cătălin Răceanu
2019-02-27 22:06:47 +02:00
parent 66f6559a58
commit 934698d8ac
4 changed files with 10 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ bool wxApp::Initialize( int &argc, wxChar **argv )
m_qtArgv[argc] = NULL;
m_qtArgc = argc;
m_qtApplication.reset(new QApplication(m_qtArgc, m_qtArgv.data()));
m_qtApplication.reset(new QApplication(m_qtArgc, m_qtArgv.get()));
// Use the args returned by Qt as it may have deleted (processed) some of them
// Using QApplication::arguments() forces argument processing