We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60dbbd commit c0e4927Copy full SHA for c0e4927
src/core/qgsdataitem.h
@@ -327,7 +327,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
327
/** Returns comments of the layer
328
* @note added in 2.12
329
*/
330
- virtual QString comments() const { return ""; }
+ virtual QString comments() const { return QString(); }
331
332
protected:
333
@@ -350,7 +350,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
350
static const QIcon &iconRaster();
351
static const QIcon &iconDefault();
352
353
- /** Returns the layer name */
+ /** @return the layer name */
354
virtual QString layerName() const { return name(); }
355
};
356
0 commit comments