@@ -499,7 +499,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
499
499
connect ( mActionShowRulers , SIGNAL ( triggered ( bool ) ), this , SLOT ( toggleRulers ( bool ) ) );
500
500
501
501
// init undo/redo buttons
502
- mComposition = new QgsComposition ( mQgis ->mapCanvas ()->mapSettings () );
502
+ mComposition = new QgsComposition ( mQgis ->mapCanvas ()->mapSettings () );
503
503
504
504
mActionUndo ->setEnabled ( false );
505
505
mActionRedo ->setEnabled ( false );
@@ -1008,7 +1008,7 @@ void QgsComposer::on_mActionAtlasPreview_triggered( bool checked )
1008
1008
if ( checked )
1009
1009
{
1010
1010
mapCanvas ()->stopRendering ();
1011
- emit ( atlasPreviewFeatureChanged () );
1011
+ emit atlasPreviewFeatureChanged ();
1012
1012
}
1013
1013
else
1014
1014
{
@@ -1030,7 +1030,7 @@ void QgsComposer::on_mActionAtlasNext_triggered()
1030
1030
1031
1031
loadAtlasPredefinedScalesFromProject ();
1032
1032
atlasMap->nextFeature ();
1033
- emit ( atlasPreviewFeatureChanged () );
1033
+ emit atlasPreviewFeatureChanged ();
1034
1034
}
1035
1035
1036
1036
void QgsComposer::on_mActionAtlasPrev_triggered ()
@@ -1045,7 +1045,7 @@ void QgsComposer::on_mActionAtlasPrev_triggered()
1045
1045
1046
1046
loadAtlasPredefinedScalesFromProject ();
1047
1047
atlasMap->prevFeature ();
1048
- emit ( atlasPreviewFeatureChanged () );
1048
+ emit atlasPreviewFeatureChanged ();
1049
1049
}
1050
1050
1051
1051
void QgsComposer::on_mActionAtlasFirst_triggered ()
@@ -1060,7 +1060,7 @@ void QgsComposer::on_mActionAtlasFirst_triggered()
1060
1060
1061
1061
loadAtlasPredefinedScalesFromProject ();
1062
1062
atlasMap->firstFeature ();
1063
- emit ( atlasPreviewFeatureChanged () );
1063
+ emit atlasPreviewFeatureChanged ();
1064
1064
}
1065
1065
1066
1066
void QgsComposer::on_mActionAtlasLast_triggered ()
@@ -1075,7 +1075,7 @@ void QgsComposer::on_mActionAtlasLast_triggered()
1075
1075
1076
1076
loadAtlasPredefinedScalesFromProject ();
1077
1077
atlasMap->lastFeature ();
1078
- emit ( atlasPreviewFeatureChanged () );
1078
+ emit atlasPreviewFeatureChanged ();
1079
1079
}
1080
1080
1081
1081
QgsMapCanvas *QgsComposer::mapCanvas ( void )
@@ -3701,7 +3701,7 @@ void QgsComposer::setAtlasFeature( QgsMapLayer* layer, const QgsFeature& feat )
3701
3701
3702
3702
// set current preview feature id
3703
3703
atlas.prepareForFeature ( &feat );
3704
- emit ( atlasPreviewFeatureChanged () );
3704
+ emit atlasPreviewFeatureChanged ();
3705
3705
}
3706
3706
3707
3707
void QgsComposer::updateAtlasMapLayerAction ( QgsVectorLayer *coverageLayer )
0 commit comments