[libcalamares] Simplify collecting the maintainers info
This commit is contained in:
parent
d6c6b7c64b
commit
4c8e91dc70
@ -48,14 +48,12 @@ static constexpr const Maintainer maintainers[] = {
|
|||||||
static QString
|
static QString
|
||||||
aboutMaintainers()
|
aboutMaintainers()
|
||||||
{
|
{
|
||||||
return std::accumulate( std::cbegin( maintainers ),
|
QStringList s;
|
||||||
std::cend( maintainers ),
|
for ( const auto& m : maintainers )
|
||||||
QString(),
|
{
|
||||||
[]( QString& s, const Maintainer& m )
|
s.append( m.text() );
|
||||||
{
|
}
|
||||||
s += m.text();
|
return s.join( QString() );
|
||||||
return s;
|
|
||||||
} );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static QString
|
static QString
|
||||||
|
Loading…
Reference in New Issue
Block a user