Commit a885aa02 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

RoutingProfilesWidget: pass a parent to RoutingProfileSettingsDialog

* prevents the RoutingProfileSettingsDialog to have a separate entry in the task bar
(cherry picked from commit 044316a6)
parent ef26f5e0
......@@ -43,7 +43,7 @@ RoutingProfilesWidget::RoutingProfilesWidget( MarbleWidget *marbleWidget )
connect( m_profilesModel, SIGNAL( layoutChanged() ), SLOT( updateButtons() ) );
connect( m_ui->profilesList, SIGNAL( doubleClicked( QModelIndex ) ), SLOT( configure() ) );
m_profileDialog = new RoutingProfileSettingsDialog( m_marbleWidget->model()->pluginManager(), m_profilesModel );
m_profileDialog = new RoutingProfileSettingsDialog( m_marbleWidget->model()->pluginManager(), m_profilesModel, this );
}
RoutingProfilesWidget::~RoutingProfilesWidget()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment