@@ -2185,7 +2185,7 @@ bool QgsVectorLayer::deleteAttributes( QList<int> attrs )
2185
2185
2186
2186
qSort ( attrs.begin (), attrs.end (), qGreater<int >() );
2187
2187
2188
- Q_FOREACH ( int attr, attrs )
2188
+ Q_FOREACH ( int attr, attrs )
2189
2189
{
2190
2190
if ( deleteAttribute ( attr ) )
2191
2191
{
@@ -2955,7 +2955,7 @@ void QgsVectorLayer::uniqueValues( int index, QList<QVariant> &uniqueValues, int
2955
2955
if ( mEditBuffer )
2956
2956
{
2957
2957
QSet<QString> vals;
2958
- Q_FOREACH ( const QVariant& v, uniqueValues )
2958
+ Q_FOREACH ( const QVariant& v, uniqueValues )
2959
2959
{
2960
2960
vals << v.toString ();
2961
2961
}
@@ -3763,7 +3763,7 @@ void QgsVectorLayer::invalidateSymbolCountedFlag()
3763
3763
3764
3764
void QgsVectorLayer::onRelationsLoaded ()
3765
3765
{
3766
- Q_FOREACH ( QgsAttributeEditorElement* elem, mAttributeEditorElements )
3766
+ Q_FOREACH ( QgsAttributeEditorElement* elem, mAttributeEditorElements )
3767
3767
{
3768
3768
if ( elem->type () == QgsAttributeEditorElement::AeTypeContainer )
3769
3769
{
@@ -3772,7 +3772,7 @@ void QgsVectorLayer::onRelationsLoaded()
3772
3772
continue ;
3773
3773
3774
3774
QList<QgsAttributeEditorElement*> relations = cont->findElements ( QgsAttributeEditorElement::AeTypeRelation );
3775
- Q_FOREACH ( QgsAttributeEditorElement* relElem, relations )
3775
+ Q_FOREACH ( QgsAttributeEditorElement* relElem, relations )
3776
3776
{
3777
3777
QgsAttributeEditorRelation* rel = dynamic_cast < QgsAttributeEditorRelation* >( relElem );
3778
3778
if ( !rel )
@@ -3841,7 +3841,7 @@ QDomElement QgsAttributeEditorContainer::toDomElement( QDomDocument& doc ) const
3841
3841
QDomElement elem = doc.createElement ( " attributeEditorContainer" );
3842
3842
elem.setAttribute ( " name" , mName );
3843
3843
3844
- Q_FOREACH ( QgsAttributeEditorElement* child, mChildren )
3844
+ Q_FOREACH ( QgsAttributeEditorElement* child, mChildren )
3845
3845
{
3846
3846
elem.appendChild ( child->toDomElement ( doc ) );
3847
3847
}
@@ -3857,7 +3857,7 @@ QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::findElements( Qgs
3857
3857
{
3858
3858
QList<QgsAttributeEditorElement*> results;
3859
3859
3860
- Q_FOREACH ( QgsAttributeEditorElement* elem, mChildren )
3860
+ Q_FOREACH ( QgsAttributeEditorElement* elem, mChildren )
3861
3861
{
3862
3862
if ( elem->type () == type )
3863
3863
{
0 commit comments