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

File should be closed after opening.

parent f43f5aaa
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ int XMLQtInterface::readFile(const QString &fileName) ...@@ -42,6 +42,7 @@ int XMLQtInterface::readFile(const QString &fileName)
return 0; return 0;
} }
_fileData = file.readAll(); _fileData = file.readAll();
file.close();
if (!checkHash()) if (!checkHash())
return 0; return 0;
......
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