Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make it possible to give any values on flavour groups.
Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
  • Loading branch information
Marko Saukko authored and Bernd Wachter committed Mar 19, 2013
1 parent 6937a16 commit ff7b0b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libssu/ssu.cpp
Expand Up @@ -377,6 +377,16 @@ QString Ssu::repoUrl(QString repoName, bool rndRepo, QHash<QString, QString> rep
repoParameters.insert("flavourName", flavour());
repoParameters.insert("release", settings->value("rndRelease").toString());
configSections << flavour()+"-flavour" << "rnd" << "all";

// Make it possible to give any values with the flavour as well.
// These values can be overridden later with domain if needed.
repoSettings->beginGroup(flavour()+"-flavour");
QStringList defKeys = repoSettings->allKeys();
foreach (const QString &key, defKeys){
repoParameters.insert(key, repoSettings->value(key).toString());
}
repoSettings->endGroup();

} else {
repoParameters.insert("release", settings->value("release").toString());
configSections << "release" << "all";
Expand Down

0 comments on commit ff7b0b9

Please sign in to comment.