Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 22, 2018
1 parent f27c7ca commit b6ec1bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/mesh/qgsmeshdatasetgrouptreeview.cpp
Expand Up @@ -303,11 +303,15 @@ void QgsMeshDatasetGroupTreeModel::addTreeItem( const QString &groupName, bool i
parent->appendChild( item );

if ( mNameToItem.contains( groupName ) )
{
QgsDebugMsg( QStringLiteral( "Group %1 is not unique" ).arg( groupName ) );
}
mNameToItem[groupName] = item;

if ( mDatasetGroupIndexToItem.contains( groupIndex ) )
{
QgsDebugMsg( QStringLiteral( "Group index %1 is not unique" ).arg( groupIndex ) );
}
mDatasetGroupIndexToItem[groupIndex] = item;
}

Expand Down

0 comments on commit b6ec1bc

Please sign in to comment.