Skip to content

Commit

Permalink
Attempt to fix qgsmaplayerrenderer c++ and pyqgis docs display
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Nov 22, 2022
1 parent bfde785 commit 9b886a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions python/core/auto_generated/qgsmaplayerrenderer.sip.in
Expand Up @@ -27,13 +27,13 @@ Qt containers and various Qt classes use implicit sharing.

The scenario will be:

# renderer job (doing preparation in the GUI thread) calls
#. renderer job (doing preparation in the GUI thread) calls
:py:func:`QgsMapLayer.createMapRenderer()` and gets instance of this class.
The instance is initialized at that point and should not need
additional calls to :py:class:`QgsVectorLayer`.
# renderer job (still in GUI thread) stores the renderer for later use.
# renderer job (in worker thread) calls :py:func:`QgsMapLayerRenderer.render()`
# renderer job (again in GUI thread) will check :py:func:`~errors` and report them
#. renderer job (still in GUI thread) stores the renderer for later use.
#. renderer job (in worker thread) calls :py:func:`QgsMapLayerRenderer.render()`
#. renderer job (again in GUI thread) will check :py:func:`~errors` and report them

.. versionadded:: 2.4
%End
Expand Down
14 changes: 7 additions & 7 deletions src/core/qgsmaplayerrenderer.h
Expand Up @@ -41,13 +41,13 @@ class QgsRenderedItemDetails;
*
* The scenario will be:
*
* # renderer job (doing preparation in the GUI thread) calls
* QgsMapLayer::createMapRenderer() and gets instance of this class.
* The instance is initialized at that point and should not need
* additional calls to QgsVectorLayer.
* # renderer job (still in GUI thread) stores the renderer for later use.
* # renderer job (in worker thread) calls QgsMapLayerRenderer::render()
* # renderer job (again in GUI thread) will check errors() and report them
* #. renderer job (doing preparation in the GUI thread) calls
* QgsMapLayer::createMapRenderer() and gets instance of this class.
* The instance is initialized at that point and should not need
* additional calls to QgsVectorLayer.
* #. renderer job (still in GUI thread) stores the renderer for later use.
* #. renderer job (in worker thread) calls QgsMapLayerRenderer::render()
* #. renderer job (again in GUI thread) will check errors() and report them
*
* \since QGIS 2.4
*/
Expand Down

0 comments on commit 9b886a1

Please sign in to comment.