run astyle

This commit is contained in:
Denis Rouzaud 2018-01-22 21:31:27 -04:00
parent 834a945c5f
commit 50e1e78113
3 changed files with 5 additions and 5 deletions

View File

@ -292,7 +292,7 @@ void QgsLayoutAppUtils::registerGuiForKnownItemTypes()
{
return new QgsLayoutHtmlWidget( qobject_cast< QgsLayoutFrame * >( item ) );
}, createRubberBand );
htmlItemMetadata->setItemCreationFunction( [ = ]( QgsLayout * layout )->QgsLayoutItem*
htmlItemMetadata->setItemCreationFunction( [ = ]( QgsLayout * layout )->QgsLayoutItem *
{
std::unique_ptr< QgsLayoutItemHtml > htmlMultiFrame = qgis::make_unique< QgsLayoutItemHtml >( layout );
QgsLayoutItemHtml *html = htmlMultiFrame.get();
@ -311,7 +311,7 @@ void QgsLayoutAppUtils::registerGuiForKnownItemTypes()
{
return new QgsLayoutAttributeTableWidget( qobject_cast< QgsLayoutFrame * >( item ) );
}, createRubberBand );
attributeTableItemMetadata->setItemCreationFunction( [ = ]( QgsLayout * layout )->QgsLayoutItem*
attributeTableItemMetadata->setItemCreationFunction( [ = ]( QgsLayout * layout )->QgsLayoutItem *
{
std::unique_ptr< QgsLayoutItemAttributeTable > tableMultiFrame = qgis::make_unique< QgsLayoutItemAttributeTable >( layout );
QgsLayoutItemAttributeTable *table = tableMultiFrame.get();

View File

@ -45,8 +45,8 @@ QList< QPair<QString, QString> > QgsGpsDetector::availablePorts()
#ifdef Q_OS_LINUX
// look for linux serial devices
const QStringList devices { QStringLiteral( "/dev/ttyS%1" ),
QStringLiteral( "/dev/ttyUSB%1" ),
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
QStringLiteral( "/dev/ttyUSB%1" ),
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
for ( const QString &linuxDev : devices )
{
for ( int i = 0; i < 10; ++i )

View File

@ -51,7 +51,7 @@ bool QgsLayoutItemRegistry::populate()
#if 0
// add temporary item to register
auto createTemporaryItem = []( QgsLayout * layout )->QgsLayoutItem*
auto createTemporaryItem = []( QgsLayout * layout )->QgsLayoutItem *
{
return new TestLayoutItem( layout );
};