Make ServerInfo parsing slightly more robust.

- Don't assume the list of release targets to be the same as the list of
  release-candidate targets.
- Don't try to construct a download URL for releases with an empty release
  version.

Change-Id: Icc3098a9db9e3d00261c32f4b9c2999ecc716380
This commit is contained in:
Dominik Riebeling 2012-06-17 13:02:22 +02:00
parent 14727b1ac3
commit 9760d4155f
2 changed files with 10 additions and 7 deletions

View file

@ -49,7 +49,7 @@ class ServerInfo : public QObject
private:
//! set a server info value
static void setValue(enum ServerInfos setting , QVariant value);
static void setValue(enum ServerInfos setting, QVariant value);
//! set a value for a server info for a named platform.
static void setPlatformValue(QString platform, enum ServerInfos setting, QVariant value);
//! you shouldnt call this, its a fully static class