Store the downloadId in the book (and in the library).

This commit is contained in:
Matthieu Gautier committed 2018-10-24 10:47:12 +02:00
1 parent 43ff8565d1
commit fe6d5fa93e
3 files changed
+10

No files matched your search

+3
View File
@@ -123,6 +123,9 @@ void Book::updateFromXml(const pugi::xml_node& node, const std::string& baseDir)
m_size = strtoull(ATTR("size"), 0, 0);
m_favicon = base64_decode(ATTR("favicon"));
m_faviconMimeType = ATTR("faviconMimeType");
try {
m_downloadId = ATTR("downloadId");
} catch(...) {}
}
#undef ATTR