Skip to content

Commit dcec6bb

Browse files
committedJul 24, 2017
1 parent 1dca9a1 commit dcec6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,8 +2322,8 @@ void QgisApp::refreshProfileMenu()
23222322
Q_FOREACH ( const QString &name, userProfileManager()->allProfiles() )
23232323
{
23242324
profile = userProfileManager()->profileForName( name );
2325-
QAction *action = new QAction( profile->icon(), profile->alias() );
2326-
action->setToolTip( profile->folder() );
2325+
// Qt 5.5 has no parent default as nullptr
2326+
QAction *action = new QAction( profile->icon(), profile->alias(), nullptr );
23272327
action->setToolTip( profile->folder() );
23282328
delete profile;
23292329

0 commit comments

Comments
 (0)
Please sign in to comment.