Skip to content

Commit

Permalink
Fix dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 4, 2018
1 parent a890622 commit 8c5f795
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions python/gui/auto_generated/qgsbrowserdockwidget.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ Adds the layer corresponding to the specified model ``index``.
Returns true if the index was successfully intrepreted as a map layer and loaded, or
false if the index is not a map layer or could not be loaded.

.. deprecated:: will be removed in QGIS 4.0 - retrieve the QgsLayerItem itself
and manually add to project.
.. deprecated:: will be removed in QGIS 4.0 - retrieve the QgsLayerItem itself and manually add to project.
%End

void showContextMenu( QPoint );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsbrowserdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void QgsBrowserDockWidget::itemDoubleClicked( const QModelIndex &index )
return;
}

// if no providers overrode the double click handling for this item, we give the item itself a chance
// if no providers overrode the double-click handling for this item, we give the item itself a chance
if ( !item->handleDoubleClick() )
{
// double-click not handled by browser model, so use as default view expand behavior
Expand Down
3 changes: 1 addition & 2 deletions src/gui/qgsbrowserdockwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ class GUI_EXPORT QgsBrowserDockWidget : public QgsDockWidget, private Ui::QgsBro
* Returns true if the index was successfully intrepreted as a map layer and loaded, or
* false if the index is not a map layer or could not be loaded.
*
* \deprecated will be removed in QGIS 4.0 - retrieve the QgsLayerItem itself
* and manually add to project.
* \deprecated will be removed in QGIS 4.0 - retrieve the QgsLayerItem itself and manually add to project.
*/
Q_DECL_DEPRECATED bool addLayerAtIndex( const QModelIndex &index ) SIP_DEPRECATED;

Expand Down

0 comments on commit 8c5f795

Please sign in to comment.