Skip to content
Snippets Groups Projects
Commit 10f2e6bd authored by Lars Bilke's avatar Lars Bilke
Browse files

Added a comment.

parent f5278e23
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,8 @@ int XMLQtInterface::isValid() const ...@@ -68,6 +68,8 @@ int XMLQtInterface::isValid() const
} }
else else
{ {
// The following validator (without constructor arguments) automatically
// searches for the xsd given in the xml file.
QXmlSchemaValidator validator; QXmlSchemaValidator validator;
if ( validator.validate( _fileData ) ) if ( validator.validate( _fileData ) )
return 1; return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment