mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Remove autos
This commit is contained in:
parent
4b9e1d665e
commit
0b53d223f3
@ -297,7 +297,7 @@ void QgsStacCatalogItem::childrenCreated()
|
||||
|
||||
void QgsStacCatalogItem::onControllerFinished( int requestId, const QString &error )
|
||||
{
|
||||
for ( auto child : std::as_const( mChildren ) )
|
||||
for ( QgsDataItem *child : std::as_const( mChildren ) )
|
||||
{
|
||||
if ( child->state() != Qgis::BrowserItemState::NotPopulated )
|
||||
continue;
|
||||
@ -338,7 +338,7 @@ QVector<QgsDataItem *> QgsStacCatalogItem::createChildren()
|
||||
bool useCollectionsEndpoint = false;
|
||||
if ( supportsCollections || supportsItems )
|
||||
{
|
||||
for ( const auto &link : links )
|
||||
for ( const QgsStacLink &link : links )
|
||||
{
|
||||
if ( link.relation() == QLatin1String( "items" ) )
|
||||
{
|
||||
@ -355,7 +355,7 @@ QVector<QgsDataItem *> QgsStacCatalogItem::createChildren()
|
||||
}
|
||||
}
|
||||
|
||||
for ( const auto &link : links )
|
||||
for ( const QgsStacLink &link : links )
|
||||
{
|
||||
// skip hierarchical navigation links
|
||||
if ( link.relation() == QLatin1String( "self" ) ||
|
||||
@ -591,7 +591,7 @@ QgsStacRootItem::QgsStacRootItem( QgsDataItem *parent, const QString &name, cons
|
||||
QVector<QgsDataItem *> QgsStacRootItem::createChildren()
|
||||
{
|
||||
QVector<QgsDataItem *> connections;
|
||||
const auto connectionList = QgsStacConnection::connectionList();
|
||||
const QStringList connectionList = QgsStacConnection::connectionList();
|
||||
for ( const QString &connName : connectionList )
|
||||
{
|
||||
QgsDataItem *conn = new QgsStacConnectionItem( this, connName );
|
||||
|
Loading…
x
Reference in New Issue
Block a user