From 091b7502cfc1bc01a1abd68a0fb9a0b2693a4658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 5 Aug 2013 04:10:53 +0200 Subject: Add small tweak to make forge work --- backend/VersionFactory.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backend/VersionFactory.cpp') diff --git a/backend/VersionFactory.cpp b/backend/VersionFactory.cpp index d0242f17..7bec4370 100644 --- a/backend/VersionFactory.cpp +++ b/backend/VersionFactory.cpp @@ -104,6 +104,12 @@ QSharedPointer FullVersionFactory::parse4(QJsonObject root, QShared continue; QSharedPointer library(new Library(nameVal.toString())); + auto urlVal = libObj.value("url"); + if(urlVal.isString()) + { + library->setBaseUrl(urlVal.toString()); + } + // Extract excludes (if any) auto extractVal = libObj.value("extract"); if(extractVal.isObject()) -- cgit v1.2.3