Fix 'uninitialized field' warnings

1164-fix
MrSimbax 2020-07-06 14:17:47 +02:00 committed by Mateusz Przybył
parent 124467c6e1
commit 06921e711d
2 changed files with 3 additions and 2 deletions

View File

@ -53,11 +53,12 @@ const float DELAY_DBCLICK_DIR = 0.75f;
// Object's constructor.
CFileDialog::CFileDialog()
CFileDialog::CFileDialog() : m_eventQueue{}
{
m_eventQueue = CApplication::GetInstancePointer()->GetEventQueue();
m_interface = CRobotMain::GetInstancePointer()->GetInterface();
m_time = 0.0f;
m_lastTimeClickDir = 0.0f;
}
// Object's destructor.

View File

@ -345,7 +345,7 @@ private:
bool m_askOverwriteMode = false;
bool m_confirmOverwrite = false;
bool m_public;
bool m_public = false;
std::string m_pathPublic = "";
std::string m_pathPrivate = "";
bool m_usePublicPrivate = false;