mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 10:25:45 -05:00
[libcalamares] Simplify collecting the maintainers info
This commit is contained in:
parent
d6c6b7c64b
commit
4c8e91dc70
1 changed files with 6 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue