[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
|
||||
aboutMaintainers()
|
||||
{
|
||||
return std::accumulate( std::cbegin( maintainers ),
|
||||
std::cend( maintainers ),
|
||||
QString(),
|
||||
[]( QString& s, const Maintainer& m )
|
||||
{
|
||||
s += m.text();
|
||||
return s;
|
||||
} );
|
||||
QStringList s;
|
||||
for ( const auto& m : maintainers )
|
||||
{
|
||||
s.append( m.text() );
|
||||
}
|
||||
return s.join( QString() );
|
||||
}
|
||||
|
||||
static QString
|
||||
|
Loading…
Reference in New Issue
Block a user