summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-08 14:54:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-08 14:54:25 +0300
commitc23b91cd462346fe395143baec7b0e7edd253b4a (patch)
treeff7d62358504ab475b09fb01a68c2ff484f9bb25 /src/gui/windows/skilldialog.cpp
parent0975dc4cd9012b098061f0201028896d578649f8 (diff)
downloadmv-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.gz
mv-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.bz2
mv-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.xz
mv-c23b91cd462346fe395143baec7b0e7edd253b4a.zip
fix skilldb loading.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index ce7c1027a..aabe02e1c 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -440,7 +440,7 @@ void SkillDialog::loadSkills()
void SkillDialog::loadXmlFile(const std::string &fileName)
{
- XML::Document doc(paths.getStringValue("skillsFile"));
+ XML::Document doc(fileName);
XmlNodePtr root = doc.rootNode();
int setCount = 0;