From 33b626c99f506dc4a98bc05bb1e3450d61ef25cd Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 2 Jul 2020 07:37:41 +0200 Subject: [PATCH] Fix checkbox objectname --- src/dialog/spellcheckerconfigdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {