summaryrefslogtreecommitdiff
path: root/src/projectserialiser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectserialiser.cc')
-rw-r--r--src/projectserialiser.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/projectserialiser.cc b/src/projectserialiser.cc
index ac872c7..8985daa 100644
--- a/src/projectserialiser.cc
+++ b/src/projectserialiser.cc
@@ -128,6 +128,10 @@ QString ProjectSerialiser::serialise(const Project& project)
raw_file_root.appendChild(doc.createTextNode(project.raw_file_root));
dgedit.appendChild(raw_file_root);
+ auto description = doc.createElement("description");
+ description.appendChild(doc.createTextNode(project.description));
+ dgedit.appendChild(description);
+
auto export_path = doc.createElement("export_path");
export_path.appendChild(doc.createTextNode(project.export_path));
dgedit.appendChild(export_path);
@@ -235,6 +239,7 @@ bool ProjectSerialiser::deserialise(const QString& data, Project& project)
project.next_id = dom["next_id"].toInt();
project.project_name = dom("project_name").text();
project.raw_file_root = dom("raw_file_root").text();
+ project.description = dom("description").text();
project.export_path = dom("export_path").text();
auto channels = dom("channels").children("channel");