From 3015d4614ea5e2c1d85dbc0a4869516927c86798 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 14 Aug 2019 10:04:03 +0200
Subject: Fix missing QAction


diff --git a/app/optionsdialog.cpp b/app/optionsdialog.cpp
index 80452d1..e1f67a5 100644
--- a/app/optionsdialog.cpp
+++ b/app/optionsdialog.cpp
@@ -17,6 +17,7 @@
 #include "optionsdialog.h"
 #include "ui_optionsdialog.h"
 
+#include <QAction>
 #include <QFontComboBox>
 #include <QItemEditorFactory>
 #include <QKeySequence>
-- 
2.21.0


From 17c34f5d4e04492f604e7b344f6c25d9567059ac Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 14 Aug 2019 10:04:40 +0200
Subject: Fix path to find the myspel/hunspell dictionaries


diff --git a/app/hunspell/spellchecker_unix.cpp b/app/hunspell/spellchecker_unix.cpp
index 59806c5..996b7e0 100644
--- a/app/hunspell/spellchecker_unix.cpp
+++ b/app/hunspell/spellchecker_unix.cpp
@@ -37,6 +37,9 @@ QMap<QString, Dictionary> SpellChecker::availableDictionaries()
     // Ubuntu
     paths << QStringLiteral("/usr/share/hunspell");
 
+    // Haiku
+    paths << QStringLiteral("/system/data/hunspell");
+
     // Fedora
     paths << QStringLiteral("/usr/local/share/myspell")
           << QStringLiteral("/usr/share/myspell");
-- 
2.21.0

