diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-08 20:42:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-09 00:27:32 +0300 |
commit | fff9a49359916f7b6f5ef2674e633dab6d02319e (patch) | |
tree | fb4cce56ef616e4a9122f57ecb9b9cf2f14f2c76 /src/gui/updaterwindow.cpp | |
parent | 089a85eb5fbe48f309c1e472e6ca9d2239894b9d (diff) | |
download | mv-fff9a49359916f7b6f5ef2674e633dab6d02319e.tar.gz mv-fff9a49359916f7b6f5ef2674e633dab6d02319e.tar.bz2 mv-fff9a49359916f7b6f5ef2674e633dab6d02319e.tar.xz mv-fff9a49359916f7b6f5ef2674e633dab6d02319e.zip |
ignore all update groups except default.
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp index 7ff7d6857..197b97e3a 100644 --- a/src/gui/updaterwindow.cpp +++ b/src/gui/updaterwindow.cpp @@ -77,10 +77,12 @@ std::vector<UpdateFile> loadXMLFile(const std::string &fileName) for_each_xml_child_node(fileNode, rootNode) { - // Ignore all tags except for the "update" tags if (!xmlNameEqual(fileNode, "update")) continue; + if (XML::getProperty(fileNode, "group", "default") != "default") + continue; + UpdateFile file; file.name = XML::getProperty(fileNode, "file", ""); file.hash = XML::getProperty(fileNode, "hash", ""); |