Skip to content

Commit a67dab5

Browse files
committed
Spelling
1 parent ef97063 commit a67dab5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

python/core/qgsdataitem.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ Create new data item.
157157
virtual bool handleDoubleClick();
158158
%Docstring
159159
Called when a user double clicks on the item. Subclasses should return true
160-
if they have implemented a double click handler and do not want the default
161-
double click behaviour for items.
160+
if they have implemented a double-click handler and do not want the default
161+
double-click behavior for items.
162162
.. versionadded:: 3.0
163163
:rtype: bool
164164
%End

src/core/qgsdataitem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ class CORE_EXPORT QgsDataItem : public QObject
158158

159159
/**
160160
* Called when a user double clicks on the item. Subclasses should return true
161-
* if they have implemented a double click handler and do not want the default
162-
* double click behaviour for items.
161+
* if they have implemented a double-click handler and do not want the default
162+
* double-click behavior for items.
163163
* \since QGIS 3.0
164164
*/
165165
virtual bool handleDoubleClick();

src/gui/qgsbrowserdockwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void QgsBrowserDockWidget::itemDoubleClicked( const QModelIndex &index )
164164
if ( item->handleDoubleClick() )
165165
return;
166166
else
167-
addLayerAtIndex( index ); // default double click handler
167+
addLayerAtIndex( index ); // default double-click handler
168168
}
169169

170170
void QgsBrowserDockWidget::showContextMenu( QPoint pt )

0 commit comments

Comments
 (0)