Package: use correct tag for download url.

This commit is contained in:
Thomas Geymayer 2014-06-10 00:45:03 +02:00
parent e508ff724c
commit ade4627f1a

View File

@ -161,7 +161,7 @@ string_list Package::thumbnailUrls() const
string_list Package::downloadUrls() const
{
string_list r;
BOOST_FOREACH(SGPropertyNode* dl, m_props->getChildren("download")) {
BOOST_FOREACH(SGPropertyNode* dl, m_props->getChildren("url")) {
r.push_back(dl->getStringValue());
}
return r;