File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -314,17 +314,17 @@ void QgsRelation::updateRelationStatus()
314
314
{
315
315
QgsDebugMsg ( " Invalid relation: no ID" );
316
316
mValid = false ;
317
- }
317
+ }
318
318
else
319
319
{
320
320
if ( !mReferencedLayer )
321
321
{
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 ) );
323
323
mValid = false ;
324
324
}
325
325
else if ( !mReferencingLayer )
326
326
{
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 ) );
328
328
mValid = false ;
329
329
}
330
330
else
@@ -337,15 +337,15 @@ void QgsRelation::updateRelationStatus()
337
337
338
338
Q_FOREACH ( const FieldPair& fieldPair, mFieldPairs )
339
339
{
340
- if ( -1 == mReferencingLayer ->fieldNameIndex ( fieldPair.first ))
340
+ if ( -1 == mReferencingLayer ->fieldNameIndex ( fieldPair.first ) )
341
341
{
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 () ) );
343
343
mValid = false ;
344
344
break ;
345
345
}
346
346
else if ( -1 == mReferencedLayer ->fieldNameIndex ( fieldPair.second ) )
347
347
{
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 () ) );
349
349
mValid = false ;
350
350
break ;
351
351
}
You can’t perform that action at this time.
0 commit comments