Mercurial > hg > svcore
diff transform/TransformFactory.cpp @ 468:70b333085952
* complete switching the code to use CachedFile -- now to tidy & fix the
remaining flaws...
author | Chris Cannam |
---|---|
date | Mon, 27 Oct 2008 20:29:55 +0000 |
parents | 957e6a5c8495 |
children | 5015e80cc919 |
line wrap: on
line diff
--- a/transform/TransformFactory.cpp Mon Oct 27 18:15:20 2008 +0000 +++ b/transform/TransformFactory.cpp Mon Oct 27 20:29:55 2008 +0000 @@ -561,7 +561,12 @@ if (m_transforms.find(tid) != m_transforms.end()) { std::cerr << "TransformFactory::populateUninstalledTransforms: " - << tid.toStdString() << " is installed, skipping" << std::endl; + << tid.toStdString() << " is installed; adding info url if appropriate, skipping rest" << std::endl; + if (infoUrl != "") { + if (m_transforms[tid].infoUrl == "") { + m_transforms[tid].infoUrl = infoUrl; + } + } continue; } @@ -611,14 +616,6 @@ td.configurable = false; m_uninstalledTransforms[tid] = td; - - if (td.infoUrl != "") { - if (m_transforms.find(tid) != m_transforms.end()) { - if (m_transforms[tid].infoUrl == "") { - m_transforms[tid].infoUrl = td.infoUrl; - } - } - } } }