From bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Feb 2015 17:51:56 +0300 Subject: Dont show some useless errors while loading themes. --- src/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/units.cpp') diff --git a/src/units.cpp b/src/units.cpp index a182c67db..577659818 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -111,7 +111,7 @@ void Units::loadUnits() void Units::loadXmlFile(const std::string &fileName) { - XML::Document doc(fileName, true); + XML::Document doc(fileName, true, false); const XmlNodePtrConst root = doc.rootNode(); if (!root || !xmlNameEqual(root, "units")) -- cgit v1.2.3-60-g2f50