Skip to content
Permalink
Browse files
typo and remove unused QgsMeshDatasetGroupStore::setPersistentProvider
  • Loading branch information
vcloarec authored and nyalldawson committed May 20, 2021
1 parent 7a1c29d commit 81b2d6a91019fbaf230e13b2a95dcb4f9eaf8808
Showing with 2 additions and 18 deletions.
  1. +0 −5 src/core/mesh/qgsmeshdatasetgroupstore.cpp
  2. +2 −13 src/core/mesh/qgsmeshdatasetgroupstore.h
@@ -48,11 +48,6 @@ QgsMeshDatasetGroupStore::QgsMeshDatasetGroupStore( QgsMeshLayer *layer ):
mDatasetGroupTreeRootItem( new QgsMeshDatasetGroupTreeItem )
{}

void QgsMeshDatasetGroupStore::setPersistentProvider( QgsMeshDataProvider *provider )
{
setPersistentProvider( provider, QStringList() );
}

void QgsMeshDatasetGroupStore::setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri )
{
removePersistentProvider();
@@ -112,7 +112,7 @@ class QgsMeshExtraDatasetStore: public QgsMeshDatasetSourceInterface
* The native group index is not exposed and global index can be obtained with datasetGroupIndexes() that returns the list of global index available.
* The dataset index is the same than in the native source (data provider or other dataset source)
*
* This class has also the responsibility to handle the dataset group tree item that contain information to display the available dataset (\see QgsMeshDatasetGroupTreeItem)
* This class also has the responsibility to handle the dataset group tree item that contain information to display the available dataset (\see QgsMeshDatasetGroupTreeItem)
*
* \since QGIS 3.16
*/
@@ -127,18 +127,7 @@ class QgsMeshDatasetGroupStore: public QObject
//! Constructor
QgsMeshDatasetGroupStore( QgsMeshLayer *layer );

/**
* Sets the persistent mesh data provider
*
* \deprecated since QGIS 3.20
*/
Q_DECL_DEPRECATED void setPersistentProvider( QgsMeshDataProvider *provider );

/**
* Sets the persistent mesh data provider with the path of its extra dataset
*
* \since QGIS 3.20
*/
//! Sets the persistent mesh data provider with the path of its extra dataset
void setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri );

//! Adds persistent datasets from a file with \a path

0 comments on commit 81b2d6a

Please sign in to comment.