diff --git a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h
index 5a9d4843a4a91fd4b2bd41e66f461ec2bf0318b8..1dc95c44691f0546f8bf7ef735ca53b95163b82d 100644
--- a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h
+++ b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h
@@ -44,13 +44,14 @@ protected:
     /// If no hash file exists, the xml-file is validated and a hash file is written if the xml-file was valid.
     bool checkHash() const;
 
-    QString _schemaFile;
-
     /// Caches the actual file contents when reading.
     QByteArray _fileData;
 
+
+private:
     /// The actual file name when reading.
     QString _fileName;
+    QString _schemaFile;
 };
 
 } // end namespace IO