Blame kdelibs-4.14.9-myspell_paths.patch
|
Rex Dieter |
527b440 |
diff -up kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp.myspell_paths kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp
|
|
Rex Dieter |
527b440 |
--- kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp.myspell_paths 2015-05-28 20:27:39.000000000 -0500
|
|
Rex Dieter |
527b440 |
+++ kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp 2015-06-04 17:59:10.824869047 -0500
|
|
Rex Dieter |
527b440 |
@@ -52,7 +52,7 @@ SpellerPlugin *HunspellClient::createSpe
|
|
Rex Dieter |
527b440 |
QStringList HunspellClient::languages() const
|
|
Rex Dieter |
527b440 |
{
|
|
Rex Dieter |
527b440 |
QStringList lst;
|
|
Rex Dieter |
527b440 |
- QDir dir("/usr/share/myspell/dicts/");
|
|
Rex Dieter |
527b440 |
+ QDir dir("/usr/share/myspell/");
|
|
Rex Dieter |
527b440 |
if(dir.exists())
|
|
Rex Dieter |
527b440 |
{
|
|
Rex Dieter |
527b440 |
QStringList lstDic = dir.entryList(QStringList("*.dic"), QDir::Files );
|
|
Rex Dieter |
527b440 |
diff -up kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp.myspell_paths kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp
|
|
Rex Dieter |
527b440 |
--- kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp.myspell_paths 2015-05-28 20:27:39.000000000 -0500
|
|
Rex Dieter |
527b440 |
+++ kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp 2015-06-04 17:58:49.055774079 -0500
|
|
Rex Dieter |
527b440 |
@@ -31,9 +31,9 @@ HunspellDict::HunspellDict( const QStrin
|
|
Rex Dieter |
527b440 |
: SpellerPlugin(lang), m_speller(0)
|
|
Rex Dieter |
527b440 |
{
|
|
Rex Dieter |
527b440 |
kDebug()<<" HunspellDict::HunspellDict( const QString& lang ):"<
|
|
Rex Dieter |
527b440 |
- QString dic=QString("/usr/share/myspell/dicts/%1.dic").arg(lang);
|
|
Rex Dieter |
527b440 |
+ QString dic=QString("/usr/share/myspell/%1.dic").arg(lang);
|
|
Rex Dieter |
527b440 |
if (QFileInfo(dic).exists())
|
|
Rex Dieter |
527b440 |
- m_speller = new Hunspell(QString("/usr/share/myspell/dicts/%1.aff").arg(lang).toUtf8().constData(),dic.toUtf8().constData());
|
|
Rex Dieter |
527b440 |
+ m_speller = new Hunspell(QString("/usr/share/myspell/%1.aff").arg(lang).toUtf8().constData(),dic.toUtf8().constData());
|
|
Rex Dieter |
527b440 |
else
|
|
Rex Dieter |
527b440 |
m_speller = 0;
|
|
Rex Dieter |
527b440 |
kDebug()<<" dddddd "<
|