Skip to content

Commit 70eec9f

Browse files
committed
Fix some comments
1 parent 8773385 commit 70eec9f

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

src/core/symbology-ng/qgsfillsymbollayerv2.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Qt::BrushStyle QgsSimpleFillSymbolLayerV2::dxfBrushStyle() const
458458
return mBrushStyle;
459459
}
460460

461-
//QgsGradientFillSymbolLayer
461+
//QgsGradientFillSymbolLayerV2
462462

463463
QgsGradientFillSymbolLayerV2::QgsGradientFillSymbolLayerV2( const QColor& color, const QColor& color2,
464464
GradientColorType colorType, GradientType gradientType,
@@ -944,7 +944,7 @@ QgsMapUnitScale QgsGradientFillSymbolLayerV2::mapUnitScale() const
944944
return mOffsetMapUnitScale;
945945
}
946946

947-
//QgsShapeburstFillSymbolLayer
947+
//QgsShapeburstFillSymbolLayerV2
948948

949949
QgsShapeburstFillSymbolLayerV2::QgsShapeburstFillSymbolLayerV2( const QColor& color, const QColor& color2, ShapeburstColorType colorType,
950950
int blurRadius, bool useWholeShape, double maxDistance )

src/core/symbology-ng/qgssymbol.h

-24
Original file line numberDiff line numberDiff line change
@@ -696,27 +696,3 @@ class CORE_EXPORT QgsFillSymbolV2 : public QgsSymbol
696696

697697
#endif
698698

699-
700-
/*
701-
702-
QgsSymbol* ps = new QgsPointSymbol();
703-
704-
// ----
705-
706-
sl = QgsSymbolLayerRegistry::instance()->createSymbolLayer("SimpleLine", { "color", "..." })
707-
708-
// (or)
709-
710-
sl = QgsSymbolLayerRegistry::defaultSymbolLayer(QgsSymbol::Line)
711-
712-
// (or)
713-
714-
QgsSymbolLayer* sl = new QgsSimpleLineSymbolLayer(x,y,z);
715-
QgsLineSymbol* s = new LineSymbol( [ sl ] );
716-
717-
// ----
718-
719-
rend = QgsSingleSymbolRenderer( new LineSymbol() );
720-
*/
721-
722-

0 commit comments

Comments
 (0)