https://bugs.kde.org/show_bug.cgi?id=406426

David Faure <fa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fa...@kde.org

--- Comment #7 from David Faure <fa...@kde.org> ---

-        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

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

Reply via email to