Fix doc test

This commit is contained in:
Nyall Dawson 2018-06-18 22:10:10 +10:00
parent 68b38b2daf
commit 00f0583325
2 changed files with 5 additions and 5 deletions

View File

@ -218,11 +218,11 @@ from a source to destination coordinate reference system.
void clear(); void clear();
%Docstring %Docstring
Clear the project - removes all settings and resets it back to an empty, default state. Clears the project, removing all settings and resetting it back to an empty, default state.
.. versionadded:: 2.4
.. seealso:: :py:func:`cleared` .. seealso:: :py:func:`cleared`
.. versionadded:: 2.4
%End %End
bool read( const QString &filename ); bool read( const QString &filename );

View File

@ -245,9 +245,9 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
void setTransformContext( const QgsCoordinateTransformContext &context ); void setTransformContext( const QgsCoordinateTransformContext &context );
/** /**
* Clear the project - removes all settings and resets it back to an empty, default state. * Clears the project, removing all settings and resetting it back to an empty, default state.
* \since QGIS 2.4
* \see cleared() * \see cleared()
* \since QGIS 2.4
*/ */
void clear(); void clear();