https://bugs.kde.org/show_bug.cgi?id=406426
--- Comment #10 from Laurent Montel <mon...@kde.org> ---
(In reply to David Faure from comment #7)
> -        Q_FOREACH(GlobalShortcut *sc, shortcutContext(context)->_actions)
> +        for (GlobalShortcut *sc :
> qAsConst(shortcutContext(context)->_actions))
> 
> This is probably the problem. qAsConst cannot be used for temporaries,
> because the temporary goes out of scope before the result is used.
> 
> src/runtime/component.cpp around line 330

interesting.
"ag -sr qAsConst'\([^)]*\(' ." thanks for command

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to