Skip to content

Commit

Permalink
Fix qt deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 24, 2020
1 parent e859a0f commit 2073790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/mesh/qgsmeshvirtualdatasetgroup.cpp
Expand Up @@ -78,7 +78,7 @@ void QgsMeshVirtualDatasetGroup::initialize()
if ( times.isEmpty() )
times.insert( 0 );

mDatasetTimes = times.toList();
mDatasetTimes = qgis::setToList( times );
std::sort( mDatasetTimes.begin(), mDatasetTimes.end() );

mDatasetMetaData = QVector<QgsMeshDatasetMetadata>( mDatasetTimes.count() );
Expand Down

0 comments on commit 2073790

Please sign in to comment.