forked from qt-creator/qt-creator
Remove dependencies on unloadeable projects
Task-number: QTCREATORBUG-6736 Change-Id: Icff1857a1bf44f2f2bad106c3fce8bdd3a2d2e49 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -184,9 +184,12 @@ bool SessionFile::load(const QString &fileName)
|
||||
QMap<QString, QVariant>::const_iterator i = depMap.constBegin();
|
||||
while (i != depMap.constEnd()) {
|
||||
const QString &key = i.key();
|
||||
if (m_failedProjects.contains(key))
|
||||
continue;
|
||||
QStringList values;
|
||||
foreach (const QString &value, i.value().toStringList()) {
|
||||
values << value;
|
||||
if (!m_failedProjects.contains(value))
|
||||
values << value;
|
||||
}
|
||||
m_depMap.insert(key, values);
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user