Mercurial > hg > svgui
diff layer/LayerFactory.cpp @ 683:692a8b9804fe
Drop toStdString() and toLocal8Bit().data(), with debug header we can stream QStrings
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:11:04 +0000 |
parents | 1a0dfcbffaf1 |
children | 917039d333bb |
line wrap: on
line diff
--- a/layer/LayerFactory.cpp Tue Nov 26 14:06:40 2013 +0000 +++ b/layer/LayerFactory.cpp Tue Nov 26 14:11:04 2013 +0000 @@ -480,7 +480,7 @@ for (unsigned int i = 0; i < attrNodes.length(); ++i) { QDomAttr attr = attrNodes.item(i).toAttr(); if (attr.isNull()) continue; -// cerr << "append \"" << attr.name().toStdString() +// cerr << "append \"" << attr.name() // << "\" -> \"" << attr.value() << "\"" // << endl; attrs.append(attr.name(), "", "", attr.value()); @@ -492,7 +492,7 @@ QDomAttr attr = attrNodes.item(i).toAttr(); if (attr.isNull()) continue; if (attrs.value(attr.name()) == "") { -// cerr << "append \"" << attr.name().toStdString() +// cerr << "append \"" << attr.name() // << "\" -> \"" << attr.value() << "\"" // << endl; attrs.append(attr.name(), "", "", attr.value());