Skip to content
Permalink
Browse files

Use a cleaner replacement

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
DelazJ and nyalldawson committed Mar 5, 2020
1 parent 21f39d1 commit f8bedd8b1ae6c3f02986f7be85d774d0a6943c5f
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsproviderregistry.h
@@ -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;

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

#endif //QGSPROVIDERREGISTRY_H

0 comments on commit f8bedd8

Please sign in to comment.
You can’t perform that action at this time.