Skip to content

Commit

Permalink
Fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 18, 2018
1 parent 68b38b2 commit 00f0583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/qgsproject.sip.in
Expand Up @@ -218,11 +218,11 @@ from a source to destination coordinate reference system.

void clear();
%Docstring
Clear the project - removes all settings and resets it back to an empty, default state.

.. versionadded:: 2.4
Clears the project, removing all settings and resetting it back to an empty, default state.

.. seealso:: :py:func:`cleared`

.. versionadded:: 2.4
%End

bool read( const QString &filename );
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsproject.h
Expand Up @@ -245,9 +245,9 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
void setTransformContext( const QgsCoordinateTransformContext &context );

/**
* Clear the project - removes all settings and resets it back to an empty, default state.
* \since QGIS 2.4
* Clears the project, removing all settings and resetting it back to an empty, default state.
* \see cleared()
* \since QGIS 2.4
*/
void clear();

Expand Down

0 comments on commit 00f0583

Please sign in to comment.