Skip to content
Snippets Groups Projects
Commit 777b9bf2 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Set profile to "" if it's the default for compatibility

parent 46e15218
No related branches found
No related tags found
No related merge requests found
Pipeline #580 failed
......@@ -115,8 +115,8 @@ UserSettings::load(std::optional<QString> profile)
cameraFrameRate_ = settings.value("user/camera_frame_rate", QString()).toString();
useStunServer_ = settings.value("user/use_stun_server", false).toBool();
if (profile)
profile_ = *profile;
if (profile) // set to "" if it's the default to maintain compatibility
profile_ = (*profile == "default") ? "" : *profile;
else
profile_ = settings.value("user/currentProfile", "").toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment