[libcalamares] Simplify collecting the maintainers info

This commit is contained in:
Adriaan de Groot 2024-04-28 17:38:35 +02:00
parent d6c6b7c64b
commit 4c8e91dc70

View File

@ -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