Skip to content
Permalink
Browse files
Minor fixes
  • Loading branch information
Hugo Mercier committed Oct 6, 2015
1 parent c60dbbd commit c0e4927782788e6456e3091254f33114c35e10a6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsdataitem.h
@@ -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:

@@ -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(); }
};

0 comments on commit c0e4927

Please sign in to comment.