diff --git a/dictionary-locations.patch b/dictionary-locations.patch index b31e52a..2701655 100644 --- a/dictionary-locations.patch +++ b/dictionary-locations.patch @@ -1,8 +1,8 @@ diff --git a/src/plugins/hunspell/hunspellclient.cpp b/src/plugins/hunspell/hunspellclient.cpp -index 9e3aa67..bf2ca71 100644 +index 46963ef..80c2636 100644 --- a/src/plugins/hunspell/hunspellclient.cpp +++ b/src/plugins/hunspell/hunspellclient.cpp -@@ -46,7 +46,7 @@ SpellerPlugin *HunspellClient::createSpeller(const QString &language) +@@ -47,7 +47,7 @@ SpellerPlugin *HunspellClient::createSpeller(const QString &language) QStringList HunspellClient::languages() const { QStringList lst; @@ -12,13 +12,13 @@ index 9e3aa67..bf2ca71 100644 QStringList lstDic = dir.entryList(QStringList(QStringLiteral("*.dic")), QDir::Files); foreach (const QString &tmp, lstDic) { diff --git a/src/plugins/hunspell/hunspelldict.cpp b/src/plugins/hunspell/hunspelldict.cpp -index 621113d..5baa65f 100644 +index fda4a4c..489bc9b 100644 --- a/src/plugins/hunspell/hunspelldict.cpp +++ b/src/plugins/hunspell/hunspelldict.cpp -@@ -30,9 +30,9 @@ HunspellDict::HunspellDict(const QString &lang) +@@ -31,9 +31,9 @@ HunspellDict::HunspellDict(const QString &lang) : SpellerPlugin(lang), m_speller(0) { - qDebug() << " HunspellDict::HunspellDict( const QString& lang ):" << lang; + qCDebug(SONNET_HUNSPELL) << " HunspellDict::HunspellDict( const QString& lang ):" << lang; - QString dic = QStringLiteral("/usr/share/myspell/dicts/%1.dic").arg(lang); + QString dic = QStringLiteral("/usr/share/hunspell/%1.dic").arg(lang); if (QFileInfo(dic).exists()) {