mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
don't accept RichText as input
This commit is contained in:
parent
1b4afcb937
commit
c3e55489b0
@ -21,6 +21,7 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) :
|
||||
QTextEdit(parent)
|
||||
{
|
||||
setPlaceholderText("Type your message here...");
|
||||
setAcceptRichText(false);
|
||||
}
|
||||
|
||||
void ChatTextEdit::keyPressEvent(QKeyEvent * event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user