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/gui/windows/skilldialog.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/skilldialog.h') diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index 910ba9b72..146b67bab 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -26,6 +26,7 @@ #include "gui/widgets/window.h" #include "enums/simpletypes/autotarget.h" +#include "enums/simpletypes/skiperror.h" #include "enums/simpletypes/modifiable.h" #include "listeners/actionlistener.h" @@ -77,7 +78,8 @@ class SkillDialog final : public Window, void updateModels(); - void loadXmlFile(const std::string &fileName); + void loadXmlFile(const std::string &fileName, + const SkipError skipError); void clearSkills(); -- cgit v1.2.3-60-g2f50