Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit d2baabef authored by Kurt Hindenburg's avatar Kurt Hindenburg

Fix clazy-detaching-temporary issue

parent 4895b8f0
......@@ -634,7 +634,8 @@ void TabbedViewContainer::openTabContextMenu(const QPoint &point)
auto collection = sessionController->actionCollection();
auto readonlyAction = collection->action(QStringLiteral("view-readonly"));
if (readonlyAction != nullptr) {
_contextPopupMenu->insertAction(_contextPopupMenu->actions().last(), readonlyAction);
const auto readonlyActions = _contextPopupMenu->actions();
_contextPopupMenu->insertAction(readonlyActions.last(), readonlyAction);
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