fix for DataFolder hard coded path in old profiles

This commit is contained in:
Mark Watkins 2016-03-04 00:08:06 +10:00
parent c130d0e35c
commit 4dcf9845f7

View File

@ -134,6 +134,8 @@ bool Profile::Load(QString filename)
bool b = Open(filename);
this->Set(STR_GEN_DataFolder, QString("{home}/Profiles/{UserName}"));
doctor = new DoctorInfo(this);
user = new UserInfo(this);
cpap = new CPAPSettings(this);