[packagechooser] Apply newer clang-formatting
This commit is contained in:
parent
011483967d
commit
5bf787c1a5
@ -55,15 +55,9 @@ static PackageItem
|
|||||||
fromComponent( AppStream::Pool& pool, AppStream::Component& component )
|
fromComponent( AppStream::Pool& pool, AppStream::Component& component )
|
||||||
{
|
{
|
||||||
#if HAVE_APPSTREAM_VERSION == 0
|
#if HAVE_APPSTREAM_VERSION == 0
|
||||||
auto setActiveLocale = [&component](const QString & locale)
|
auto setActiveLocale = [ &component ]( const QString& locale ) { component.setActiveLocale( locale ); };
|
||||||
{
|
|
||||||
component.setActiveLocale( locale );
|
|
||||||
};
|
|
||||||
#else
|
#else
|
||||||
auto setActiveLocale = [&pool](const QString & locale)
|
auto setActiveLocale = [ &pool ]( const QString& locale ) { pool.setLocale( locale ); };
|
||||||
{
|
|
||||||
pool.setLocale( locale );
|
|
||||||
};
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QVariantMap map;
|
QVariantMap map;
|
||||||
|
Loading…
Reference in New Issue
Block a user