From 1e459a6a82e1d0647f02d94642ff9b7c817af01753b4ae7f7e6fe52101c64929 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 3 May 2015 19:57:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=52 --- dictionary-locations.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()) {