Fixes: - Make plugin load order a bit more deterministic

Details:  - It will still change if the dependencies change, there's no
way to avoid that though.
This commit is contained in:
con
2008-12-11 11:26:42 +01:00
parent f1e67fa3a3
commit 7239d03ee7
7 changed files with 18 additions and 11 deletions

View File

@@ -129,7 +129,7 @@ bool OptionsParser::checkForNoLoadOption()
"The plugin '%1' does not exist.").arg(m_currentArg);
m_hasError = true;
} else {
m_pmPrivate->pluginSpecs.remove(spec);
m_pmPrivate->pluginSpecs.removeAll(spec);
delete spec;
m_isDependencyRefreshNeeded = true;
}