Skip to content
Permalink
Browse files

Fix dox

  • Loading branch information
nyalldawson committed Nov 4, 2018
1 parent a890622 commit 8c5f79575a71c3b18113bc1e2226387fd1caf211
@@ -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 );
@@ -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
@@ -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;

0 comments on commit 8c5f795

Please sign in to comment.
You can’t perform that action at this time.