Commit b100baed authored by hjk's avatar hjk

Fixes: do not emit startupProjectChanged() if the startup project

has not changed.

    Details:  saves a few cycles
parent 5fb66306
......@@ -527,6 +527,9 @@ void SessionManager::setStartupProject(Project *startupProject)
Q_ASSERT(m_file->m_projects.contains(startupProject));
}
if (m_file->m_startupProject == startupProject)
return;
m_file->m_startupProject = startupProject;
emit startupProjectChanged(startupProject);
}
......
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