Commit e2ab4ae1 authored by Tobias Hunger's avatar Tobias Hunger

Silence warning when switching to a session without any projects open

Change-Id: I05fa7a90642590813fb28443b067900c79a17c9f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 33438efc
......@@ -814,7 +814,8 @@ void SessionManagerPrivate::restoreStartupProject(const PersistentSettingsReader
}
}
if (!m_startupProject) {
qWarning() << "Could not find startup project" << startupProject;
if (!startupProject.isEmpty())
qWarning() << "Could not find startup project" << startupProject;
if (!m_projects.isEmpty())
m_instance->setStartupProject(m_projects.first());
}
......
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