Add spellchecking suggestions
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
#include <QTextDocument>
|
||||
|
||||
#include "neochatroom.h"
|
||||
#ifndef Q_OS_ANDROID
|
||||
#include "spellcheckhighlighter.h"
|
||||
#endif
|
||||
|
||||
ChatDocumentHandler::ChatDocumentHandler(QObject *parent)
|
||||
: QObject(parent)
|
||||
@@ -37,9 +34,6 @@ void ChatDocumentHandler::setDocument(QQuickTextDocument *document)
|
||||
m_document->textDocument()->disconnect(this);
|
||||
}
|
||||
m_document = document;
|
||||
#ifndef Q_OS_ANDROID
|
||||
new SpellcheckHighlighter(m_document->textDocument());
|
||||
#endif
|
||||
Q_EMIT documentChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user