@@ -184,16 +184,16 @@ void QgsGrassPlugin::initGui()
184
184
mEditAction ->setWhatsThis (tr (" Edit the currently selected GRASS vector layer." ));
185
185
186
186
// Connect the action
187
- connect (mAddVectorAction , SIGNAL (activated ()), this , SLOT (addVector ()));
188
- connect (mAddRasterAction , SIGNAL (activated ()), this , SLOT (addRaster ()));
189
- connect (mOpenToolsAction , SIGNAL (activated ()), this , SLOT (openTools ()));
190
- connect (mEditAction , SIGNAL (activated ()), this , SLOT (edit ()));
191
- connect (mNewVectorAction , SIGNAL (activated ()), this , SLOT (newVector ()));
187
+ connect (mAddVectorAction , SIGNAL (triggered ()), this , SLOT (addVector ()));
188
+ connect (mAddRasterAction , SIGNAL (triggered ()), this , SLOT (addRaster ()));
189
+ connect (mOpenToolsAction , SIGNAL (triggered ()), this , SLOT (openTools ()));
190
+ connect (mEditAction , SIGNAL (triggered ()), this , SLOT (edit ()));
191
+ connect (mNewVectorAction , SIGNAL (triggered ()), this , SLOT (newVector ()));
192
192
connect (mRegionAction , SIGNAL (toggled (bool )), this , SLOT (switchRegion (bool )));
193
- connect (mEditRegionAction , SIGNAL (activated ()), this , SLOT (changeRegion ()));
194
- connect (mOpenMapsetAction , SIGNAL (activated ()), this , SLOT (openMapset ()));
195
- connect (mNewMapsetAction , SIGNAL (activated ()), this , SLOT (newMapset ()));
196
- connect (mCloseMapsetAction , SIGNAL (activated ()), this , SLOT (closeMapset ()));
193
+ connect (mEditRegionAction , SIGNAL (triggered ()), this , SLOT (changeRegion ()));
194
+ connect (mOpenMapsetAction , SIGNAL (triggered ()), this , SLOT (openMapset ()));
195
+ connect (mNewMapsetAction , SIGNAL (triggered ()), this , SLOT (newMapset ()));
196
+ connect (mCloseMapsetAction , SIGNAL (triggered ()), this , SLOT (closeMapset ()));
197
197
198
198
// Add actions to a GRASS plugin menu
199
199
qGisInterface->addPluginMenu (tr (" &GRASS" ), mOpenMapsetAction );
@@ -293,7 +293,7 @@ void QgsGrassPlugin::saveMapset()
293
293
QgsGrass::getDefaultMapset () );
294
294
}
295
295
296
- // Slot called when the "Add GRASS vector layer" menu item is activated
296
+ // Slot called when the "Add GRASS vector layer" menu item is triggered
297
297
void QgsGrassPlugin::addVector ()
298
298
{
299
299
#ifdef QGISDEBUG
@@ -375,7 +375,7 @@ void QgsGrassPlugin::addVector()
375
375
}
376
376
}
377
377
378
- // Slot called when the "Add GRASS raster layer" menu item is activated
378
+ // Slot called when the "Add GRASS raster layer" menu item is triggered
379
379
void QgsGrassPlugin::addRaster ()
380
380
{
381
381
#ifdef QGISDEBUG
0 commit comments