Skip to content

Commit c0e4927

Browse files
author
Hugo Mercier
committed
Minor fixes
1 parent c60dbbd commit c0e4927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgsdataitem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
327327
/** Returns comments of the layer
328328
* @note added in 2.12
329329
*/
330-
virtual QString comments() const { return ""; }
330+
virtual QString comments() const { return QString(); }
331331

332332
protected:
333333

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

353-
/** Returns the layer name */
353+
/** @return the layer name */
354354
virtual QString layerName() const { return name(); }
355355
};
356356

0 commit comments

Comments
 (0)