From 58b3ae81362945ea07890a8cac7a2371baabe6ac Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Tue, 8 Sep 2020 14:51:23 +0200 Subject: [PATCH] fix typos --- python/core/auto_generated/locator/qgslocatorfilter.sip.in | 2 +- src/app/locator/qgsinbuiltlocatorfilters.h | 2 +- src/core/locator/qgslocatorfilter.h | 2 +- src/gui/locator/qgslocatorwidget.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/core/auto_generated/locator/qgslocatorfilter.sip.in b/python/core/auto_generated/locator/qgslocatorfilter.sip.in index 564d35e0d91..b98413d24c0 100644 --- a/python/core/auto_generated/locator/qgslocatorfilter.sip.in +++ b/python/core/auto_generated/locator/qgslocatorfilter.sip.in @@ -169,7 +169,7 @@ Prepares the filter instance for an upcoming search for the specified ``string`` from the main thread, and individual filter subclasses should perform whatever tasks are required in order to allow a subsequent search to safely execute on a background thread. -The method return an autocompletion list +The method returns an autocompletion list %End virtual void fetchResults( const QString &string, const QgsLocatorContext &context, QgsFeedback *feedback ) = 0; diff --git a/src/app/locator/qgsinbuiltlocatorfilters.h b/src/app/locator/qgsinbuiltlocatorfilters.h index 963bebbb220..0a24cb0ad32 100644 --- a/src/app/locator/qgsinbuiltlocatorfilters.h +++ b/src/app/locator/qgsinbuiltlocatorfilters.h @@ -112,7 +112,7 @@ class APP_EXPORT QgsActiveLayerFeaturesLocatorFilter : public QgsLocatorFilter /** * Returns the field restriction if defined (starting with @) - * The \a searchString is modified acccordingly by removing the field restriction + * The \a searchString is modified accordingly by removing the field restriction */ QString fieldRestriction( QString &searchString ) const; diff --git a/src/core/locator/qgslocatorfilter.h b/src/core/locator/qgslocatorfilter.h index b921d372ad8..5ca1707e59a 100644 --- a/src/core/locator/qgslocatorfilter.h +++ b/src/core/locator/qgslocatorfilter.h @@ -219,7 +219,7 @@ class CORE_EXPORT QgsLocatorFilter : public QObject * from the main thread, and individual filter subclasses should perform whatever * tasks are required in order to allow a subsequent search to safely execute * on a background thread. - * The method return an autocompletion list + * The method returns an autocompletion list */ virtual QStringList prepare( const QString &string, const QgsLocatorContext &context ) { Q_UNUSED( string ) Q_UNUSED( context ); return QStringList();} diff --git a/src/gui/locator/qgslocatorwidget.h b/src/gui/locator/qgslocatorwidget.h index 4659300a682..a3e55e373a3 100644 --- a/src/gui/locator/qgslocatorwidget.h +++ b/src/gui/locator/qgslocatorwidget.h @@ -187,7 +187,7 @@ class QgsLocatorLineEdit : public QgsFilterLineEdit public: explicit QgsLocatorLineEdit( QgsLocatorWidget *locator, QWidget *parent = nullptr ); - //! Perform completion and returns true if successful + //! Performs completion and returns true if successful bool performCompletion(); protected: