From d5a00a320043f5782ebc489285c89943b667e094 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 May 2016 00:18:57 +0300 Subject: Add skipError parameter to loadXml functions. This allow not show errors for some not main xml files. --- src/units.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/units.h') diff --git a/src/units.h b/src/units.h index d0c71cb2d..eb8d38587 100644 --- a/src/units.h +++ b/src/units.h @@ -23,6 +23,8 @@ #ifndef UNITS_H #define UNITS_H +#include "enums/simpletypes/skiperror.h" + #include #include "localconsts.h" @@ -37,7 +39,8 @@ class Units final */ static void loadUnits(); - static void loadXmlFile(const std::string &fileName); + static void loadXmlFile(const std::string &fileName, + const SkipError skipError); /** * Formats the given number in the correct currency format. -- cgit v1.2.3-60-g2f50