Skip to content
Permalink
Browse files

Qt 5.5 has no default value for parent in QAction constructor

  • Loading branch information
3nids committed Jul 24, 2017
1 parent 1dca9a1 commit dcec6bbf3f6a74e3d22dc15d86dd3aff847b48ab
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -2322,8 +2322,8 @@ void QgisApp::refreshProfileMenu()
Q_FOREACH ( const QString &name, userProfileManager()->allProfiles() )
{
profile = userProfileManager()->profileForName( name );
QAction *action = new QAction( profile->icon(), profile->alias() );
action->setToolTip( profile->folder() );
// Qt 5.5 has no parent default as nullptr
QAction *action = new QAction( profile->icon(), profile->alias(), nullptr );
action->setToolTip( profile->folder() );
delete profile;

0 comments on commit dcec6bb

Please sign in to comment.
You can’t perform that action at this time.