Commit 45a38cb4 authored by Georg Gadinger's avatar Georg Gadinger 🐾 Committed by Tomaz Canabrava
Browse files

SessionController: fix crash when closing a session within a KPart on macOS

otherwise the popup menu will be cleaned up by the QScopedPointer
too early for macOS, apparently...
parent 424eef1c
Pipeline #147329 passed with stage
in 2 minutes and 58 seconds
......@@ -1853,7 +1853,7 @@ void SessionController::showDisplayContextMenu(const QPoint &position)
const auto old = popup->actions();
const KFileItemListProperties props({item});
QScopedPointer<KFileItemActions> ac(new KFileItemActions(popup));
QScopedPointer<KFileItemActions> ac(new KFileItemActions());
Supports Markdown
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