diff --git a/src/dialog/spellcheckerconfigdialog.cpp b/src/dialog/spellcheckerconfigdialog.cpp index 63c0ec549..b591cbea4 100644 --- a/src/dialog/spellcheckerconfigdialog.cpp +++ b/src/dialog/spellcheckerconfigdialog.cpp @@ -32,7 +32,7 @@ SpellCheckerConfigDialog::SpellCheckerConfigDialog(QWidget *parent) { // Hackish way to hide the "Enable spell check by default" checkbox // Our highlighter ignores this setting, so we should not expose its UI - QCheckBox *enabledByDefaultCB = findChild(QStringLiteral("m_checkerEnabledByDefaultCB")); + QCheckBox *enabledByDefaultCB = findChild(QStringLiteral("kcfg_autodetectLanguage")); if (enabledByDefaultCB) { enabledByDefaultCB->hide(); } else {