Add board flavour
This commit is contained in:
committed by
Raphael Coeffic
parent
f965707bdd
commit
e64f57768a
@@ -178,3 +178,9 @@ void Firmware::addOptionsGroup(const OptionsGroup & options)
|
||||
{
|
||||
this->opts.append(options);
|
||||
}
|
||||
|
||||
QString Firmware::getFlavour()
|
||||
{
|
||||
QStringList strl = id.split("-");
|
||||
return strl.count() >= 2 ? strl.at(1) : QString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user