Skip to content
Commit 40d047f0 authored by Martin Flöser's avatar Martin Flöser
Browse files

Delay starting kglobalaccel5 till it's needed

There are usages of KGlobalAccel in e.g. KActionCollection of xmlgui
framework which do not require a running kglobalaccel5. But due to the
way KGlobalAccel inits, it always started the runtime part.

This change ensures that kglobalaccel5 is only started once it's actually
needed, by e.g. registering a global shortcut. If an application does
not use global shortcuts the API should no longer trigger a start of the
runtime part.

REVIEW: 124902
CHANGELOG: Only start kglobalaccel5 if needed.
parent 2210cc0a
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