Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 668ef94b authored by Arfrever Frehtes Taifersar Arahesis's avatar Arfrever Frehtes Taifersar Arahesis Committed by Albert Astals Cid

Fix build with >=enchant-2

Summary: Forwarding a user-contributed patch.

Reviewers: aacid

Reviewed By: aacid

Differential Revision: https://phabricator.kde.org/D7748
parent 65df5b86
......@@ -82,8 +82,7 @@ bool QSpellEnchantDict::storeReplacement(const QString &bad,
bool QSpellEnchantDict::addToPersonal(const QString &word)
{
enchant_dict_add_to_pwl(m_dict, word.toUtf8(),
word.toUtf8().length());
enchant_dict_add(m_dict, word.toUtf8(), word.toUtf8().length());
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment