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

Fix profile reloading during switch

That'll get rid of the encryption warnings message boxes and per-user settings not reloading when switching between profiles
This commit is contained in:
tux3 2015-04-23 23:01:12 +02:00
parent 5df7d8a06c
commit 3bf338e9ff
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -66,6 +66,7 @@ void Settings::switchProfile(const QString& profile)
// If this instance is not main instance previous save did not happen therefore // If this instance is not main instance previous save did not happen therefore
// we manually set profile again and load profile settings // we manually set profile again and load profile settings
setCurrentProfile(profile); setCurrentProfile(profile);
loaded = false;
load(); load();
} }