Skip to content

Commit

Permalink
Code Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Feb 18, 2021
1 parent 7b2fc4c commit 9b5c4c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/qgsmaskingwidget.cpp
Expand Up @@ -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;
Expand All @@ -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++ )
{
Expand All @@ -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 )
{
Expand Down

0 comments on commit 9b5c4c6

Please sign in to comment.