Skip to content

Commit

Permalink
Use a cleaner replacement
Browse files Browse the repository at this point in the history
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
DelazJ and nyalldawson committed Mar 17, 2020
1 parent 21f39d1 commit f8bedd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsproviderregistry.h
Expand Up @@ -187,7 +187,7 @@ class CORE_EXPORT QgsProviderRegistry
* Returns a new widget for selecting layers from a provider.
* Either the \a parent widget must be set or the caller becomes
* responsible for deleting the returned widget.
* \deprecated QGIS 3.10 - use QgsGui::providerGuiRegistry()->sourceSelectProviders(providerKey)[0]->createDataSourceWidget() instead
* \deprecated QGIS 3.10 - use QgsGui::sourceSelectProviderRegistry()->createDataSourceWidget() instead
*/
Q_DECL_DEPRECATED QWidget *createSelectionWidget( const QString &providerKey, QWidget *parent = nullptr, Qt::WindowFlags fl = Qt::WindowFlags(), QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::None ) SIP_DEPRECATED;

Expand Down Expand Up @@ -436,4 +436,3 @@ class CORE_EXPORT QgsProviderRegistry
}; // class QgsProviderRegistry

#endif //QGSPROVIDERREGISTRY_H

0 comments on commit f8bedd8

Please sign in to comment.