From a67dab52d2f4b02ee72d962ff9a7d2139b25bc85 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 20 Sep 2017 18:45:59 +1000 Subject: [PATCH] Spelling --- python/core/qgsdataitem.sip | 4 ++-- src/core/qgsdataitem.h | 4 ++-- src/gui/qgsbrowserdockwidget.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python/core/qgsdataitem.sip b/python/core/qgsdataitem.sip index 62a8ab18c52..65ed28b57ee 100644 --- a/python/core/qgsdataitem.sip +++ b/python/core/qgsdataitem.sip @@ -157,8 +157,8 @@ Create new data item. virtual bool handleDoubleClick(); %Docstring Called when a user double clicks on the item. Subclasses should return true - if they have implemented a double click handler and do not want the default - double click behaviour for items. + if they have implemented a double-click handler and do not want the default + double-click behavior for items. .. versionadded:: 3.0 :rtype: bool %End diff --git a/src/core/qgsdataitem.h b/src/core/qgsdataitem.h index bdd377d78d0..76dd0a61b49 100644 --- a/src/core/qgsdataitem.h +++ b/src/core/qgsdataitem.h @@ -158,8 +158,8 @@ class CORE_EXPORT QgsDataItem : public QObject /** * Called when a user double clicks on the item. Subclasses should return true - * if they have implemented a double click handler and do not want the default - * double click behaviour for items. + * if they have implemented a double-click handler and do not want the default + * double-click behavior for items. * \since QGIS 3.0 */ virtual bool handleDoubleClick(); diff --git a/src/gui/qgsbrowserdockwidget.cpp b/src/gui/qgsbrowserdockwidget.cpp index 70a55fbdc96..db3e5a0bd75 100644 --- a/src/gui/qgsbrowserdockwidget.cpp +++ b/src/gui/qgsbrowserdockwidget.cpp @@ -164,7 +164,7 @@ void QgsBrowserDockWidget::itemDoubleClicked( const QModelIndex &index ) if ( item->handleDoubleClick() ) return; else - addLayerAtIndex( index ); // default double click handler + addLayerAtIndex( index ); // default double-click handler } void QgsBrowserDockWidget::showContextMenu( QPoint pt )