mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
go on with the work
This commit is contained in:
@@ -128,13 +128,13 @@ bool BorderProperties::fromXml(const QDomElement &e) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BorderProperties::valideXml(QDomElement& e) const {
|
||||
bool BorderProperties::valideXml(QDomElement& e) {
|
||||
|
||||
if (propertyInteger(e, "cols") == PropertyFlags::Success &&
|
||||
propertyDouble(e, "colsize") == PropertyFlags::Success &&
|
||||
propertyInteger(e, "rows") == PropertyFlags::Success &&
|
||||
propertyDouble(e, "rowsize") == PropertyFlags::Success &&
|
||||
propertyBool(e, "displaycols") == PropertyFlags::Success &&
|
||||
if (propertyInteger(e, "cols") == PropertyFlags::Success ||
|
||||
propertyDouble(e, "colsize") == PropertyFlags::Success ||
|
||||
propertyInteger(e, "rows") == PropertyFlags::Success ||
|
||||
propertyDouble(e, "rowsize") == PropertyFlags::Success ||
|
||||
propertyBool(e, "displaycols") == PropertyFlags::Success ||
|
||||
propertyBool(e, "displayrows") == PropertyFlags::Success)
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user