It does X calls and might crash kded on logout. Since we already have a currentLayout member, there's no need to get it afresh.
BUG: 364340
FIXED-IN: 5.8.0
sitter | |
mart |
Plasma |
It does X calls and might crash kded on logout. Since we already have a currentLayout member, there's no need to get it afresh.
BUG: 364340
FIXED-IN: 5.8.0
Verified that changing the keyboard layout through the tray icon invokes KeyboardDaemon::layoutChanged() where currentLayout is updated.
Then kquitapp kded5 and it saved the proper layout.
Didn't test whether other means (there's perhaps other ways the layout can change? dunno, it's X.) still work.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
seems to not be crashing anymore. unfortunately I can't comment on the correctness of the change