From b94a1b7e0a87f1617d7d720213780c2a69b4a2a9 Mon Sep 17 00:00:00 2001 From: Hannes Matuschek Date: Fri, 10 Jan 2020 14:51:07 +0100 Subject: [PATCH] Fixed xenial build --- src/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 6936cfe..01f909e 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -215,7 +215,7 @@ MainWindow::onCheck() { if (!_app.currentTutor()) return; QString result; - _app.currentTutor()->verify(_input->document()->toRawText(), result); + _app.currentTutor()->verify(_input->document()->toPlainText(), result); _input->document()->setHtml(result); _check->setEnabled(false); }