MessageEventModel plain text role

Update the message role to be named plainText and use it the message delegate for openMessageContext.
This removes the need for plainText in controller so it is removed.
This commit is contained in:
James Graham
2023-04-27 16:58:52 +00:00
parent af078f03d0
commit 4b879be4ea
6 changed files with 6 additions and 19 deletions

View File

@@ -670,11 +670,6 @@ bool Controller::hasWindowSystem() const
#endif
}
QString Controller::plainText(QQuickTextDocument *document) const
{
return document->textDocument()->toPlainText();
}
bool Controller::encryptionSupported() const
{
#ifdef QUOTIENT_07