Skip to content

Commit 86feb6d

Browse files
committed
Indentation
1 parent 77750ad commit 86feb6d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/qgsrelation.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -314,17 +314,17 @@ void QgsRelation::updateRelationStatus()
314314
{
315315
QgsDebugMsg( "Invalid relation: no ID" );
316316
mValid = false;
317-
}
317+
}
318318
else
319319
{
320320
if ( !mReferencedLayer )
321321
{
322-
QgsDebugMsg( QString("Invalid relation: referenced layer does not exist. ID: %1").arg(mReferencedLayerId) );
322+
QgsDebugMsg( QString( "Invalid relation: referenced layer does not exist. ID: %1" ).arg( mReferencedLayerId ) );
323323
mValid = false;
324324
}
325325
else if ( !mReferencingLayer )
326326
{
327-
QgsDebugMsg( QString("Invalid relation: referencing layer does not exist. ID: %2").arg(mReferencingLayerId) );
327+
QgsDebugMsg( QString( "Invalid relation: referencing layer does not exist. ID: %2" ).arg( mReferencingLayerId ) );
328328
mValid = false;
329329
}
330330
else
@@ -337,15 +337,15 @@ void QgsRelation::updateRelationStatus()
337337

338338
Q_FOREACH ( const FieldPair& fieldPair, mFieldPairs )
339339
{
340-
if ( -1 == mReferencingLayer->fieldNameIndex( fieldPair.first ))
340+
if ( -1 == mReferencingLayer->fieldNameIndex( fieldPair.first ) )
341341
{
342-
QgsDebugMsg( QString("Invalid relation: field %1 does not exist in referencing layer %2").arg(fieldPair.first, mReferencingLayer->name()) );
342+
QgsDebugMsg( QString( "Invalid relation: field %1 does not exist in referencing layer %2" ).arg( fieldPair.first, mReferencingLayer->name() ) );
343343
mValid = false;
344344
break;
345345
}
346346
else if ( -1 == mReferencedLayer->fieldNameIndex( fieldPair.second ) )
347347
{
348-
QgsDebugMsg( QString("Invalid relation: field %1 does not exist in referencedg layer %2").arg(fieldPair.second, mReferencedLayer->name()) );
348+
QgsDebugMsg( QString( "Invalid relation: field %1 does not exist in referencedg layer %2" ).arg( fieldPair.second, mReferencedLayer->name() ) );
349349
mValid = false;
350350
break;
351351
}

0 commit comments

Comments
 (0)