Commit 37ff76f0 authored by David Faure's avatar David Faure
Browse files

Fix crash on RMB / Close View

parent e5afa610
......@@ -165,7 +165,7 @@ void KonqFrameStatusBar::splitFrameMenu()
// since this may not be the active view (passive view)
QAction actRemoveView(QIcon::fromTheme(QStringLiteral("view-close")), i18n("Close View"), nullptr);
connect(&actRemoveView, &QAction::triggered, m_pParentKonqFrame, &KonqFrame::slotRemoveView);
connect(&actRemoveView, &QAction::triggered, m_pParentKonqFrame, &KonqFrame::slotRemoveView, Qt::QueuedConnection);
actRemoveView.setEnabled(mw->mainViewsCount() > 1 || m_pParentKonqFrame->childView()->isToggleView() || m_pParentKonqFrame->childView()->isPassiveMode());
// For the rest, we borrow them from the main window
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