kcm/core: Fix crasher when stopping system settings
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).
Please register or sign in to comment