@@ -51,7 +51,7 @@ extern "C"
5151
5252QgsOfflineEditing::QgsOfflineEditing ()
5353{
54- connect ( QgsMapLayerRegistry::instance (), SIGNAL ( layerWasAdded ( QgsMapLayer* ) ), this , SLOT ( layerAdded ( QgsMapLayer* ) ) );
54+ connect ( QgsMapLayerRegistry::instance (), SIGNAL ( layerWasAdded ( QgsMapLayer* ) ), this , SLOT ( layerAdded ( QgsMapLayer* ) ) );
5555}
5656
5757QgsOfflineEditing::~QgsOfflineEditing ()
@@ -524,7 +524,7 @@ void QgsOfflineEditing::copyVectorLayer( QgsVectorLayer* layer, sqlite3* db, con
524524 // fill gap in QgsAttributeMap if geometry column is not last (WORKAROUND)
525525 int column = 0 ;
526526 QgsAttributes attrs = f.attributes ();
527- QgsAttributes newAttrs (attrs.count ());
527+ QgsAttributes newAttrs ( attrs.count () );
528528 for ( int it = 0 ; it < attrs.count (); ++it )
529529 {
530530 newAttrs[column++] = attrs[it];
@@ -555,7 +555,7 @@ void QgsOfflineEditing::copyVectorLayer( QgsVectorLayer* layer, sqlite3* db, con
555555 int remoteCount = remoteFeatureIds.size ();
556556 for ( int i = 0 ; i < remoteCount; i++ )
557557 {
558- addFidLookup ( db, layerId, offlineFeatureIds.at ( i ), remoteFeatureIds.at ( remoteCount - (i+ 1 ) ) );
558+ addFidLookup ( db, layerId, offlineFeatureIds.at ( i ), remoteFeatureIds.at ( remoteCount - ( i + 1 ) ) );
559559 emit progressUpdated ( featureCount++ );
560560 }
561561 sqlExec ( db, " COMMIT" );
@@ -1208,15 +1208,15 @@ void QgsOfflineEditing::stopListenFeatureChanges()
12081208 QgsVectorLayer* vLayer = qobject_cast<QgsVectorLayer *>( sender () );
12091209 // disable logging
12101210 disconnect ( vLayer->editBuffer (), SIGNAL ( committedAttributesAdded ( const QString&, const QList<QgsField>& ) ),
1211- this , SLOT ( committedAttributesAdded ( const QString&, const QList<QgsField>& ) ) );
1211+ this , SLOT ( committedAttributesAdded ( const QString&, const QList<QgsField>& ) ) );
12121212 disconnect ( vLayer, SIGNAL ( committedFeaturesAdded ( const QString&, const QgsFeatureList& ) ),
1213- this , SLOT ( committedFeaturesAdded ( const QString&, const QgsFeatureList& ) ) );
1213+ this , SLOT ( committedFeaturesAdded ( const QString&, const QgsFeatureList& ) ) );
12141214 disconnect ( vLayer, SIGNAL ( committedFeaturesRemoved ( const QString&, const QgsFeatureIds& ) ),
1215- this , SLOT ( committedFeaturesRemoved ( const QString&, const QgsFeatureIds& ) ) );
1215+ this , SLOT ( committedFeaturesRemoved ( const QString&, const QgsFeatureIds& ) ) );
12161216 disconnect ( vLayer->editBuffer (), SIGNAL ( committedAttributeValuesChanges ( const QString&, const QgsChangedAttributesMap& ) ),
1217- this , SLOT ( committedAttributeValuesChanges ( const QString&, const QgsChangedAttributesMap& ) ) );
1217+ this , SLOT ( committedAttributeValuesChanges ( const QString&, const QgsChangedAttributesMap& ) ) );
12181218 disconnect ( vLayer->editBuffer (), SIGNAL ( committedGeometriesChanges ( const QString&, const QgsGeometryMap& ) ),
1219- this , SLOT ( committedGeometriesChanges ( const QString&, const QgsGeometryMap& ) ) );
1219+ this , SLOT ( committedGeometriesChanges ( const QString&, const QgsGeometryMap& ) ) );
12201220}
12211221
12221222void QgsOfflineEditing::layerAdded ( QgsMapLayer* layer )
0 commit comments