Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clearer docs
  • Loading branch information
nyalldawson committed Mar 12, 2017
1 parent 588a8fc commit 7b7c3e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgsmapcanvas.h
Expand Up @@ -277,6 +277,10 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
/**
* Sets a map \a theme to show in the canvas. The theme name must match
* a theme present in the associated project's QgsMapThemeCollection.
* If an empty string is passed then the current theme association will be
* cleared. The layers from the previously associated theme will remain
* in the canvas, and a call to setLayers() may be necessary to define
* which layers should be shown in the canvas.
* @note added in QGIS 3.0
* @see theme()
*/
Expand Down

0 comments on commit 7b7c3e1

Please sign in to comment.