1
0
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:
krepa098 2014-09-10 16:05:33 +02:00 committed by Tux3 / Mlkj / !Lev.uXFMLA
parent 1b4afcb937
commit c3e55489b0

View File

@ -21,6 +21,7 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) :
QTextEdit(parent)
{
setPlaceholderText("Type your message here...");
setAcceptRichText(false);
}
void ChatTextEdit::keyPressEvent(QKeyEvent * event)