summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/rbsettings.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-09-16 18:57:29 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-09-16 18:57:29 +0000
commit0695b1af6c10e15455702ec9a755c7a5916b51fd (patch)
tree7892d2ef8d852c250eb20393b61374d7242e6522 /rbutil/rbutilqt/base/rbsettings.cpp
parenta2c9440eed80157c9d3af5af34adce4bc991bbeb (diff)
downloadrockbox-0695b1af6c10e15455702ec9a755c7a5916b51fd.tar.gz
rockbox-0695b1af6c10e15455702ec9a755c7a5916b51fd.zip
rbutil: fix URL to build-info for dailies and releases. And hide targets which are not in the stable or unstable category.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22705 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/rbsettings.cpp')
-rw-r--r--rbutil/rbutilqt/base/rbsettings.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/rbsettings.cpp b/rbutil/rbutilqt/base/rbsettings.cpp
index 40b2d02bfc..116f321a4c 100644
--- a/rbutil/rbutilqt/base/rbsettings.cpp
+++ b/rbutil/rbutilqt/base/rbsettings.cpp
@@ -244,11 +244,14 @@ QStringList RbSettings::platforms()
QStringList result;
systemSettings->beginGroup("platforms");
QStringList a = systemSettings->childKeys();
+ systemSettings->endGroup();
for(int i = 0; i < a.size(); i++)
{
- result.append(systemSettings->value(a.at(i), "null").toString());
+ //only add not disabled targets
+ QString target = systemSettings->value("platforms/"+a.at(i), "null").toString();
+ if(systemSettings->value(target+"/status").toString() != "disabled")
+ result.append(target);
}
- systemSettings->endGroup();
return result;
}