Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
b100baed
Commit
b100baed
authored
Feb 03, 2009
by
hjk
Browse files
Fixes: do not emit startupProjectChanged() if the startup project
has not changed. Details: saves a few cycles
parent
5fb66306
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/session.cpp
View file @
b100baed
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment