Skip to content

Commit

Permalink
fix hana with Qt 5.14 (#41420)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 8, 2021
1 parent 65211e7 commit 73efd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanatablemodel.cpp
Expand Up @@ -95,7 +95,7 @@ void QgsHanaTableModel::addTableEntry( const QString &connName, const QgsHanaLay
if ( !pkColumnsStored.empty() )
{
// We check whether the primary key columns still exist.
auto intersection = pkColumnsStored.toSet().intersect( layerProperty.pkCols.toSet() );
auto intersection = qgis::listToSet( pkColumnsStored ).intersect( qgis::listToSet( layerProperty.pkCols ) );
if ( intersection.size() == pkColumnsStored.size() )
pkColumns = pkColumnsStored;
}
Expand Down

0 comments on commit 73efd08

Please sign in to comment.