2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Moved spellchecker work from message_field to Spellchecker::Start.

This commit is contained in:
23rd
2020-02-08 01:42:01 +03:00
parent 9dee4e2d25
commit 9d1b93fe50
5 changed files with 48 additions and 30 deletions

View File

@@ -27,6 +27,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "observer_peer.h"
#include "facades.h"
#ifndef TDESKTOP_DISABLE_SPELLCHECK
#include "chat_helpers/spellchecker_common.h"
#endif // TDESKTOP_DISABLE_SPELLCHECK
namespace Main {
namespace {
@@ -97,6 +101,10 @@ Session::Session(
});
Window::Theme::Background()->start();
#ifndef TDESKTOP_DISABLE_SPELLCHECK
Spellchecker::Start(this);
#endif // TDESKTOP_DISABLE_SPELLCHECK
}
Session::~Session() {