summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-07 17:51:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-07 17:51:56 +0300
commitbd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2 (patch)
tree34749cc1679dc9a4d81652e77ed8aaf775f89882 /src/particle
parent328eaa8ded37e86f2575cb2804d1aaa36cdd4a1b (diff)
downloadmv-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.gz
mv-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.bz2
mv-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.xz
mv-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.zip
Dont show some useless errors while loading themes.
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index c0bd275e1..b75b8973b 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -292,7 +292,7 @@ Particle *Particle::addEffect(const std::string &particleEffectFile,
const size_t pos = particleEffectFile.find('|');
const std::string dyePalettes = (pos != std::string::npos)
? particleEffectFile.substr(pos + 1) : "";
- XML::Document doc(particleEffectFile.substr(0, pos), true);
+ XML::Document doc(particleEffectFile.substr(0, pos), true, false);
const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "effect"))