Skip to content

Commit

Permalink
typo and remove unused QgsMeshDatasetGroupStore::setPersistentProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed May 20, 2021
1 parent 7a1c29d commit 81b2d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
5 changes: 0 additions & 5 deletions src/core/mesh/qgsmeshdatasetgroupstore.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ QgsMeshDatasetGroupStore::QgsMeshDatasetGroupStore( QgsMeshLayer *layer ):
mDatasetGroupTreeRootItem( new QgsMeshDatasetGroupTreeItem ) mDatasetGroupTreeRootItem( new QgsMeshDatasetGroupTreeItem )
{} {}


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

void QgsMeshDatasetGroupStore::setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri ) void QgsMeshDatasetGroupStore::setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri )
{ {
removePersistentProvider(); removePersistentProvider();
Expand Down
15 changes: 2 additions & 13 deletions src/core/mesh/qgsmeshdatasetgroupstore.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 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) * 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 * \since QGIS 3.16
*/ */
Expand All @@ -127,18 +127,7 @@ class QgsMeshDatasetGroupStore: public QObject
//! Constructor //! Constructor
QgsMeshDatasetGroupStore( QgsMeshLayer *layer ); QgsMeshDatasetGroupStore( QgsMeshLayer *layer );


/** //! Sets the persistent mesh data provider with the path of its extra dataset
* 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
*/
void setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri ); void setPersistentProvider( QgsMeshDataProvider *provider, const QStringList &extraDatasetUri );


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

0 comments on commit 81b2d6a

Please sign in to comment.