Added meta information in session file XML, for quick access to file

info (SessionCreator::info), displayed in the user interface (list of
sessions in quick access).
This commit is contained in:
brunoherbelin
2020-07-04 10:18:26 +02:00
parent 3f0def5c26
commit 84cd772644
8 changed files with 72 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ bool tinyxml2::XMLSaveDoc(XMLDocument * const doc, std::string filename)
XMLDeclaration *pDec = doc->NewDeclaration();
doc->InsertFirstChild(pDec);
std::string s = "Save time " + SystemToolkit::date_time_string();
std::string s = "Originally saved as " + filename + " by " + SystemToolkit::username();
XMLComment *pComment = doc->NewComment(s.c_str());
doc->InsertEndChild(pComment);