diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-17 13:02:22 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-17 13:02:22 +0200 |
commit | 9760d4155f454399b045d3962245abbd69f3e351 (patch) | |
tree | a9a1b588f7832e5780c30009e9471ed624dcc3aa /rbutil/rbutilqt/base/serverinfo.h | |
parent | 14727b1ac362d9c0d7ca4f4225aab9193fce1569 (diff) | |
download | rockbox-9760d4155f454399b045d3962245abbd69f3e351.tar.gz rockbox-9760d4155f454399b045d3962245abbd69f3e351.zip |
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
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.h')
-rw-r--r-- | rbutil/rbutilqt/base/serverinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.h b/rbutil/rbutilqt/base/serverinfo.h index 7021c3f154..ea68fd7fc4 100644 --- a/rbutil/rbutilqt/base/serverinfo.h +++ b/rbutil/rbutilqt/base/serverinfo.h | |||
@@ -49,7 +49,7 @@ class ServerInfo : public QObject | |||
49 | 49 | ||
50 | private: | 50 | private: |
51 | //! set a server info value | 51 | //! set a server info value |
52 | static void setValue(enum ServerInfos setting , QVariant value); | 52 | static void setValue(enum ServerInfos setting, QVariant value); |
53 | //! set a value for a server info for a named platform. | 53 | //! set a value for a server info for a named platform. |
54 | static void setPlatformValue(QString platform, enum ServerInfos setting, QVariant value); | 54 | static void setPlatformValue(QString platform, enum ServerInfos setting, QVariant value); |
55 | //! you shouldnt call this, its a fully static class | 55 | //! you shouldnt call this, its a fully static class |