kill dead code
Change-Id: I713c5504126fab40389ecb3a248b6c10048fc6c4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
098c24344f
commit
14f261a28c
@ -1762,9 +1762,6 @@ void VCXProjectWriter::outputFilter(VCProject &project, XmlOutput &xml, XmlOutpu
|
|||||||
else
|
else
|
||||||
root = new XTreeNode;
|
root = new XTreeNode;
|
||||||
|
|
||||||
QString name, extfilter;
|
|
||||||
triState parse;
|
|
||||||
|
|
||||||
for (int i = 0; i < project.SingleProjects.count(); ++i) {
|
for (int i = 0; i < project.SingleProjects.count(); ++i) {
|
||||||
VCFilter filter;
|
VCFilter filter;
|
||||||
const VCProjectSingleConfig &singleCfg = project.SingleProjects.at(i);
|
const VCProjectSingleConfig &singleCfg = project.SingleProjects.at(i);
|
||||||
@ -1794,14 +1791,6 @@ void VCXProjectWriter::outputFilter(VCProject &project, XmlOutput &xml, XmlOutpu
|
|||||||
// Merge all files in this filter to root tree
|
// Merge all files in this filter to root tree
|
||||||
for (int x = 0; x < filter.Files.count(); ++x)
|
for (int x = 0; x < filter.Files.count(); ++x)
|
||||||
root->addElement(filter.Files.at(x));
|
root->addElement(filter.Files.at(x));
|
||||||
|
|
||||||
// Save filter setting from first filter. Next filters
|
|
||||||
// may differ but we cannot handle that. (ex. extfilter)
|
|
||||||
if (name.isEmpty()) {
|
|
||||||
name = filter.Name;
|
|
||||||
extfilter = filter.Filter;
|
|
||||||
parse = filter.ParseFiles;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!root->hasElements())
|
if (!root->hasElements())
|
||||||
|
Loading…
Reference in New Issue
Block a user