From fff9a49359916f7b6f5ef2674e633dab6d02319e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 May 2013 20:42:11 +0300 Subject: ignore all update groups except default. --- src/gui/updaterwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui') 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 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", ""); -- cgit v1.2.3-70-g09d2