From 00f05833259c3879baa94ff89bd4be7b11171ce9 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 18 Jun 2018 22:10:10 +1000 Subject: [PATCH] Fix doc test --- python/core/auto_generated/qgsproject.sip.in | 6 +++--- src/core/qgsproject.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python/core/auto_generated/qgsproject.sip.in b/python/core/auto_generated/qgsproject.sip.in index bc2d20b2f8e..5170f482f4c 100644 --- a/python/core/auto_generated/qgsproject.sip.in +++ b/python/core/auto_generated/qgsproject.sip.in @@ -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 ); diff --git a/src/core/qgsproject.h b/src/core/qgsproject.h index f1def6d9bc2..139801e024b 100644 --- a/src/core/qgsproject.h +++ b/src/core/qgsproject.h @@ -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();