Fix 'uninitialized field' warnings
parent
124467c6e1
commit
06921e711d
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue