delete secondary window when no needed

BUG: 402627
pull/4/head
Michail Vourlakos 6 years ago
parent ca5ea55816
commit e19cbd46f6

@ -165,9 +165,7 @@ void PrimaryConfigView::createSecondaryWindow()
void PrimaryConfigView::deleteSecondaryWindow()
{
if (m_secConfigView) {
auto secConfig = m_secConfigView;
m_secConfigView = nullptr;
secConfig->hideConfigWindow();
m_secConfigView->deleteLater();
}
}

Loading…
Cancel
Save