Fix compilation failure due to the KSettings::Dispatcher deprecation
This is inspired by kontact!7 (diffs) but use KSettings::Dialog::configCommitted() instead of KSettings::Dialog::configCommitted(const QByteArray &) since the latter is now also deprecated.