Commit 33b626c9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix checkbox objectname

parent 1fc6331a
Pipeline #25686 passed with stage
in 28 minutes and 30 seconds
...@@ -32,7 +32,7 @@ SpellCheckerConfigDialog::SpellCheckerConfigDialog(QWidget *parent) ...@@ -32,7 +32,7 @@ SpellCheckerConfigDialog::SpellCheckerConfigDialog(QWidget *parent)
{ {
// Hackish way to hide the "Enable spell check by default" checkbox // Hackish way to hide the "Enable spell check by default" checkbox
// Our highlighter ignores this setting, so we should not expose its UI // Our highlighter ignores this setting, so we should not expose its UI
QCheckBox *enabledByDefaultCB = findChild<QCheckBox *>(QStringLiteral("m_checkerEnabledByDefaultCB")); QCheckBox *enabledByDefaultCB = findChild<QCheckBox *>(QStringLiteral("kcfg_autodetectLanguage"));
if (enabledByDefaultCB) { if (enabledByDefaultCB) {
enabledByDefaultCB->hide(); enabledByDefaultCB->hide();
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment