comparison plugin/PluginXml.cpp @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents a299c4cec0f8
children 5f8fbbde08ff
comparison
equal deleted inserted replaced
928:6a94bb528e9d 929:59e7fe1b1003
212 212
213 QDomElement pluginElt = doc.firstChildElement("plugin"); 213 QDomElement pluginElt = doc.firstChildElement("plugin");
214 QDomNamedNodeMap attrNodes = pluginElt.attributes(); 214 QDomNamedNodeMap attrNodes = pluginElt.attributes();
215 QXmlAttributes attrs; 215 QXmlAttributes attrs;
216 216
217 for (unsigned int i = 0; i < attrNodes.length(); ++i) { 217 for (int i = 0; i < attrNodes.length(); ++i) {
218 QDomAttr attr = attrNodes.item(i).toAttr(); 218 QDomAttr attr = attrNodes.item(i).toAttr();
219 if (attr.isNull()) continue; 219 if (attr.isNull()) continue;
220 // SVDEBUG << "PluginXml::setParametersFromXml: Adding attribute \"" << attr.name()// << "\" with value \"" << attr.value() << "\"" << endl; 220 // SVDEBUG << "PluginXml::setParametersFromXml: Adding attribute \"" << attr.name()// << "\" with value \"" << attr.value() << "\"" << endl;
221 attrs.append(attr.name(), "", "", attr.value()); 221 attrs.append(attr.name(), "", "", attr.value());
222 } 222 }