author | unc0rr |
Fri, 28 Nov 2008 16:46:56 +0000 | |
changeset 1521 | 971f523d7c01 |
parent 1520 | f72f538eba05 |
child 1522 | 6794cf8f1e6f |
--- a/QTfrontend/chatwidget.cpp Fri Nov 28 16:45:31 2008 +0000 +++ b/QTfrontend/chatwidget.cpp Fri Nov 28 16:46:56 2008 +0000 @@ -34,6 +34,7 @@ mainLayout.setColumnStretch(1, 25); chatEditLine = new QLineEdit(this); + chatEditLine->setMaxLength(300); connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed())); mainLayout.addWidget(chatEditLine, 1, 0, 1, 2);