Skip to content

kcm/core: Fix crasher when stopping system settings

Mike Noe requested to merge work/noee/sscrasher into master

getServerSettings() was using KCupsRequest::waitTillFinished(), which uses an event loop. getServerSettings() requires CUPS auth, so stopping system settings while in the auth event loop was crashing.

This commit uses the KCupsRequest::finished signal instead, ensuring that object deletion occurs in supported fashion (deleteLater).

Merge request reports