@@ -166,7 +166,7 @@ void QgsVisibilityPresets::addPreset()
166
166
}
167
167
168
168
169
- void QgsVisibilityPresets::presetTriggerred ()
169
+ void QgsVisibilityPresets::presetTriggered ()
170
170
{
171
171
QAction* actionPreset = qobject_cast<QAction*>( sender () );
172
172
if ( !actionPreset )
@@ -175,7 +175,7 @@ void QgsVisibilityPresets::presetTriggerred()
175
175
applyState ( actionPreset->text () );
176
176
}
177
177
178
- void QgsVisibilityPresets::replaceTriggerred ()
178
+ void QgsVisibilityPresets::replaceTriggered ()
179
179
{
180
180
QAction* actionPreset = qobject_cast<QAction*>( sender () );
181
181
if ( !actionPreset )
@@ -277,12 +277,12 @@ void QgsVisibilityPresets::menuAboutToShow()
277
277
a->setChecked ( true );
278
278
hasCurrent = true ;
279
279
}
280
- connect ( a, SIGNAL ( triggered () ), this , SLOT ( presetTriggerred () ) );
280
+ connect ( a, SIGNAL ( triggered () ), this , SLOT ( presetTriggered () ) );
281
281
mMenuPresetActions .append ( a );
282
282
283
283
QAction* replaceAction = new QAction ( grpName, mReplaceMenu );
284
284
replaceAction->setEnabled ( !a->isChecked () ); // can't replace current preset
285
- connect ( replaceAction, SIGNAL ( triggered () ), this , SLOT ( replaceTriggerred () ) );
285
+ connect ( replaceAction, SIGNAL ( triggered () ), this , SLOT ( replaceTriggered () ) );
286
286
mReplaceMenu ->addAction ( replaceAction );
287
287
}
288
288
mMenu ->insertActions ( mMenuSeparator , mMenuPresetActions );
0 commit comments