From 5f8ba939cbb6c43456a5098f6d590dda9a85b12f8160ade53eeb648d5ec8cefc Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 5 Oct 2015 18:10:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=70 --- dictionary-locations.patch | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 dictionary-locations.patch diff --git a/dictionary-locations.patch b/dictionary-locations.patch deleted file mode 100644 index 2701655..0000000 --- a/dictionary-locations.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/src/plugins/hunspell/hunspellclient.cpp b/src/plugins/hunspell/hunspellclient.cpp -index 46963ef..80c2636 100644 ---- a/src/plugins/hunspell/hunspellclient.cpp -+++ b/src/plugins/hunspell/hunspellclient.cpp -@@ -47,7 +47,7 @@ SpellerPlugin *HunspellClient::createSpeller(const QString &language) - QStringList HunspellClient::languages() const - { - QStringList lst; -- QDir dir(QStringLiteral("/usr/share/myspell/dicts/")); -+ QDir dir(QStringLiteral("/usr/share/hunspell/")); - if (dir.exists()) { - 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 fda4a4c..489bc9b 100644 ---- a/src/plugins/hunspell/hunspelldict.cpp -+++ b/src/plugins/hunspell/hunspelldict.cpp -@@ -31,9 +31,9 @@ HunspellDict::HunspellDict(const QString &lang) - : SpellerPlugin(lang), m_speller(0) - { - 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()) { -- m_speller = new Hunspell(QStringLiteral("/usr/share/myspell/dicts/%1.aff").arg(lang).toUtf8().constData(), dic.toUtf8().constData()); -+ m_speller = new Hunspell(QStringLiteral("/usr/share/hunspell/%1.aff").arg(lang).toUtf8().constData(), dic.toUtf8().constData()); - } else { - m_speller = 0; - }