Commit 03e27c0a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix window title using custom path instead of profile description.

Related to #1284
parent 97cf5966
Pipeline #116438 passed with stage
in 4 minutes and 54 seconds
......@@ -464,7 +464,7 @@ bool Core::setCurrentProfile(const QString &profilePath)
m_projectProfile->set_sample_aspect(getCurrentProfile()->sample_aspect_num(), getCurrentProfile()->sample_aspect_den());
m_projectProfile->set_display_aspect(getCurrentProfile()->display_aspect_num(), getCurrentProfile()->display_aspect_den());
m_projectProfile->set_width(getCurrentProfile()->width());
m_projectProfile->get_profile()->description = qstrdup(profilePath.toUtf8().constData());
m_projectProfile->get_profile()->description = qstrdup(getCurrentProfile()->description().toUtf8().constData());
m_projectProfile->set_explicit(true);
updateMonitorProfile();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment