Skip to content

Commit f5a3967

Browse files
committed
Flip some connects to new style
1 parent 4021490 commit f5a3967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/qgsmapthemes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ QgsMapThemes::QgsMapThemes()
5252

5353
mActionRemoveCurrentPreset = mMenu->addAction( tr( "Remove Current Theme" ), this, SLOT( removeCurrentPreset() ) );
5454

55-
connect( mMenu, SIGNAL( aboutToShow() ), this, SLOT( menuAboutToShow() ) );
55+
connect( mMenu, &QMenu::aboutToShow, this, &QgsMapThemes::menuAboutToShow );
5656
}
5757

5858

@@ -183,11 +183,11 @@ void QgsMapThemes::menuAboutToShow()
183183
a->setChecked( true );
184184
hasCurrent = true;
185185
}
186-
connect( a, SIGNAL( triggered() ), this, SLOT( presetTriggered() ) );
186+
connect( a, &QAction::triggered, this, &QgsMapThemes::presetTriggered );
187187
mMenuPresetActions.append( a );
188188

189189
QAction* replaceAction = new QAction( grpName, mReplaceMenu );
190-
connect( replaceAction, SIGNAL( triggered() ), this, SLOT( replaceTriggered() ) );
190+
connect( replaceAction, &QAction::triggered, this, &QgsMapThemes::replaceTriggered );
191191
mReplaceMenu->addAction( replaceAction );
192192
}
193193
mMenu->insertActions( mMenuSeparator, mMenuPresetActions );

0 commit comments

Comments
 (0)