We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 1dca9a1 commit dcec6bbCopy full SHA for dcec6bb
src/app/qgisapp.cpp
@@ -2322,8 +2322,8 @@ void QgisApp::refreshProfileMenu()
2322
Q_FOREACH ( const QString &name, userProfileManager()->allProfiles() )
2323
{
2324
profile = userProfileManager()->profileForName( name );
2325
- QAction *action = new QAction( profile->icon(), profile->alias() );
2326
- action->setToolTip( profile->folder() );
+ // Qt 5.5 has no parent default as nullptr
+ QAction *action = new QAction( profile->icon(), profile->alias(), nullptr );
2327
action->setToolTip( profile->folder() );
2328
delete profile;
2329
0 commit comments