[plugins/stickykeys] Fix config group check

We are comparing the wrong group name, breaking reacting to config changes
This commit is contained in:
Nicolas Fella 2023-05-08 12:30:38 +02:00 committed by Nate Graham
parent 04a592ff66
commit 1187f3c624

View file

@ -13,7 +13,7 @@ StickyKeysFilter::StickyKeysFilter()
{
const QLatin1String groupName("Keyboard");
connect(m_configWatcher.get(), &KConfigWatcher::configChanged, this, [this, groupName](const KConfigGroup &group) {
if (group.parent().name() == groupName) {
if (group.name() == groupName) {
loadConfig(group);
}
});