aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/OptionsWidget_textEncoding.cpp
diff options
context:
space:
mode:
authorGravatar ctrlaltca2025-12-22 11:51:29 +0100
committerGravatar GitHub2025-12-22 11:51:29 +0100
commite6317d4552dd84c2551bbf63b08e55205e8c9f68 (patch)
tree788a84f42379dd15212d9f9fe031518bed638def /src/modules/options/OptionsWidget_textEncoding.cpp
parentWindows builds: add libffi, too (#2742) (diff)
downloadKVIrc-e6317d4552dd84c2551bbf63b08e55205e8c9f68.tar.gz
KVIrc-e6317d4552dd84c2551bbf63b08e55205e8c9f68.tar.bz2
KVIrc-e6317d4552dd84c2551bbf63b08e55205e8c9f68.zip
Add a spellchecker backend based on windows >=8 integrated spellchecker (#2743)
* Add a spellchecker backend based on windows >=8 integrated spellchecker * CI: remove enchant from windows builds * Assume Qt5 is Windows 7, Qt6 is Windows >= 10 * Qt5 build is picking up a foreign libenchant from the build system, disable it
Diffstat (limited to 'src/modules/options/OptionsWidget_textEncoding.cpp')
-rw-r--r--src/modules/options/OptionsWidget_textEncoding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/OptionsWidget_textEncoding.cpp b/src/modules/options/OptionsWidget_textEncoding.cpp
index d23416d8b..411defe01 100644
--- a/src/modules/options/OptionsWidget_textEncoding.cpp
+++ b/src/modules/options/OptionsWidget_textEncoding.cpp
@@ -133,7 +133,7 @@ OptionsWidget_textEncoding::OptionsWidget_textEncoding(QWidget * parent)
else
m_pForcedLocaleCombo->setCurrentIndex(iMatch);
-#ifdef COMPILE_ENCHANT_SUPPORT
+#if defined(COMPILE_ENCHANT_SUPPORT) || defined(COMPILE_WINSPELLCHECKER_SUPPORT)
{
gbox = addGroupBox(0, 2, 0, 2, Qt::Horizontal, __tr2qs_ctx("Spell Checker Dictionaries", "options"));
@@ -226,7 +226,7 @@ void OptionsWidget_textEncoding::commit()
}
}
-#ifdef COMPILE_ENCHANT_SUPPORT
+#if defined(COMPILE_ENCHANT_SUPPORT) || defined(COMPILE_WINSPELLCHECKER_SUPPORT)
QStringList wantedDictionaries;
for(int i = 0; i < m_pSpellCheckerDictionaries->rowCount(); ++i)
{