Skip to content
Permalink
Browse files

Code Layout

  • Loading branch information
elpaso authored and nyalldawson committed Feb 18, 2021
1 parent 7b2fc4c commit 9b5c4c613933e099886dfc706ff0a199653fc5c8
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/gui/qgsmaskingwidget.cpp
@@ -281,11 +281,11 @@ bool QgsMaskingWidget::hasBeenPopulated()
return !mMustPopulate;
}

SymbolLayerVisitor::SymbolLayerVisitor(SymbolLayerVisitor::SymbolLayerCallback callback) :
SymbolLayerVisitor::SymbolLayerVisitor( SymbolLayerVisitor::SymbolLayerCallback callback ) :
mCallback( callback )
{}

bool SymbolLayerVisitor::visitEnter(const QgsStyleEntityVisitorInterface::Node& node)
bool SymbolLayerVisitor::visitEnter( const QgsStyleEntityVisitorInterface::Node &node )
{
if ( node.type != QgsStyleEntityVisitorInterface::NodeType::SymbolRule )
return false;
@@ -294,7 +294,7 @@ bool SymbolLayerVisitor::visitEnter(const QgsStyleEntityVisitorInterface::Node&
return true;
}

void SymbolLayerVisitor::visitSymbol(const QgsSymbol* symbol, const QString& leafIdentifier, QVector<int> rootPath)
void SymbolLayerVisitor::visitSymbol( const QgsSymbol *symbol, const QString &leafIdentifier, QVector<int> rootPath )
{
for ( int idx = 0; idx < symbol->symbolLayerCount(); idx++ )
{
@@ -312,7 +312,7 @@ void SymbolLayerVisitor::visitSymbol(const QgsSymbol* symbol, const QString& lea
}
}

bool SymbolLayerVisitor::visit(const QgsStyleEntityVisitorInterface::StyleLeaf& leaf)
bool SymbolLayerVisitor::visit( const QgsStyleEntityVisitorInterface::StyleLeaf &leaf )
{
if ( leaf.entity && leaf.entity->type() == QgsStyle::SymbolEntity )
{

0 comments on commit 9b5c4c6

Please sign in to comment.