Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Oct 6, 2015
1 parent c60dbbd commit c0e4927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsdataitem.h
Expand Up @@ -327,7 +327,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
/** Returns comments of the layer
* @note added in 2.12
*/
virtual QString comments() const { return ""; }
virtual QString comments() const { return QString(); }

protected:

Expand All @@ -350,7 +350,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
static const QIcon &iconRaster();
static const QIcon &iconDefault();

/** Returns the layer name */
/** @return the layer name */
virtual QString layerName() const { return name(); }
};

Expand Down

0 comments on commit c0e4927

Please sign in to comment.