Skip to content

Commit

Permalink
Fix clazy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 23, 2022
1 parent f30ab3d commit 4f48163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/providers/ogr/qgsogrdbtablemodel.cpp
Expand Up @@ -54,7 +54,7 @@ bool QgsOgrDbTableModel::searchableColumn( int column ) const
BUILTIN_UNREACHABLE
}

void QgsOgrDbTableModel::addTableEntry( const Qgis::BrowserLayerType &layerType, const QString &tableName, const QString &uri, const QString &geometryColName, const QString &geometryType, const QString &sql )
void QgsOgrDbTableModel::addTableEntry( Qgis::BrowserLayerType layerType, const QString &tableName, const QString &uri, const QString &geometryColName, const QString &geometryType, const QString &sql )
{
//is there already a root item ?
QStandardItem *dbItem = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/providers/ogr/qgsogrdbtablemodel.h
Expand Up @@ -43,7 +43,7 @@ class QgsOgrDbTableModel : public QgsAbstractDbTableModel
void setGeometryTypesForTable( const QString &table, const QString &attribute, const QString &type );

//! Adds entry for one database table to the model
void addTableEntry( const Qgis::BrowserLayerType &layerType, const QString &tableName, const QString &uri, const QString &geometryColName, const QString &geometryType, const QString &sql );
void addTableEntry( Qgis::BrowserLayerType layerType, const QString &tableName, const QString &uri, const QString &geometryColName, const QString &geometryType, const QString &sql );

//! Sets an sql statement that belongs to a cell specified by a model index
void setSql( const QModelIndex &index, const QString &sql ) override;
Expand Down

0 comments on commit 4f48163

Please sign in to comment.