summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-17 13:02:22 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-17 13:02:22 +0200
commit9760d4155f454399b045d3962245abbd69f3e351 (patch)
treea9a1b588f7832e5780c30009e9471ed624dcc3aa /rbutil/rbutilqt/base/serverinfo.h
parent14727b1ac362d9c0d7ca4f4225aab9193fce1569 (diff)
downloadrockbox-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.h2
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
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