Skip to content
Commit 3ff8c1f6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[AppMenu Applet] Pass "ctx" as context instead of "this"

We copy "ctx" pointer by value into our lambda but by the time our timer fires, it might be gone already.
Instead, pass "ctx" as context to QTimer::singleShot so it won't fire when it's gone.

BUG: 382386
FIXED-IN: 5.10.5

Differential Revision: https://phabricator.kde.org/D6951
parent de1c9c5d
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