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();
%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 );

View File

@ -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();