Skip to content

Commit

Permalink
change comment singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 committed Jul 30, 2021
1 parent 4bd9170 commit ce6cc8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -15,7 +15,8 @@ class QgsExternalStorageRegistry
%Docstring(signature="appended")
Registry of external storage backends used by :py:class:`QgsExternalResourceWidget`

This is a singleton that should be accessed through :py:func:`QgsApplication.externalStorageRegistry()`.
:py:class:`QgsExternalStorageRegistry` is not usually directly created, but rather accessed through
:py:func:`QgsApplication.projectStorageRegistry()`.

.. versionadded:: 3.22
%End
Expand Down
3 changes: 2 additions & 1 deletion src/core/externalstorage/qgsexternalstorageregistry.h
Expand Up @@ -28,7 +28,8 @@ class QgsExternalStorage;
* \ingroup core
* \brief Registry of external storage backends used by QgsExternalResourceWidget
*
* This is a singleton that should be accessed through QgsApplication::externalStorageRegistry().
* QgsExternalStorageRegistry is not usually directly created, but rather accessed through
* QgsApplication::projectStorageRegistry().
*
* \since QGIS 3.22
*/
Expand Down

0 comments on commit ce6cc8d

Please sign in to comment.