Skip to content

Commit

Permalink
Fix clazy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ authored and nyalldawson committed Apr 24, 2023
1 parent 4891c9f commit a905b1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/options/qgsuserprofileoptions.cpp
Expand Up @@ -106,7 +106,6 @@ void QgsUserProfileOptionsWidget::apply()
void QgsUserProfileOptionsWidget::onChangeIconClicked()
{
auto activeProfile = QgisApp::instance()->userProfileManager()->userProfile();
const QString profileName = activeProfile->name();
const QString iconPath = QFileDialog::getOpenFileName( this, tr( "Select icon" ), "", tr( "Images (*.png *.jpg *.jpeg *.gif *.bmp *.svg)" ) );
if ( !iconPath.isEmpty() )
{
Expand Down

0 comments on commit a905b1a

Please sign in to comment.