1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(settings): apply toxcore settings for encrypted profiles

Fix #5682
This commit is contained in:
Anthony Bilinski 2019-05-24 14:37:45 -07:00
parent 22362d2940
commit 74828c92e5
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -107,7 +107,7 @@ Profile::Profile(QString name, const QString& password, bool isNewProfile,
Settings& s = Settings::getInstance();
s.setCurrentProfile(name);
s.saveGlobal();
s.loadPersonal(name, passkey.get());
s.loadPersonal(name, this->passkey.get());
initCore(toxsave, s, isNewProfile);
const ToxId& selfId = core->getSelfId();