mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Minor improvement about using pugixml
This commit is contained in:
@@ -494,14 +494,8 @@ NamesList ElementsLocation::nameList()
|
||||
{
|
||||
NamesList nl;
|
||||
|
||||
if (isElement())
|
||||
{
|
||||
QSettings set;
|
||||
if (set.value("use_pugixml").toBool()) {
|
||||
nl.fromXml(pugiXml());
|
||||
} else {
|
||||
nl.fromXml(xml());
|
||||
}
|
||||
if (isElement()) {
|
||||
nl.fromXml(pugiXml());
|
||||
}
|
||||
|
||||
if (isDirectory())
|
||||
|
||||
Reference in New Issue
Block a user