set chatinput maximum

This commit is contained in:
doitux
2007-05-25 17:57:03 +00:00
parent 13a731e041
commit a6ea197a43
4 changed files with 10 additions and 0 deletions
+5
View File
@@ -58,3 +58,8 @@ void Chat::checkInvisible() {
default: { myW->tabWidget->startBlinkChatTab(); }
}
}
void Chat::checkInputLength(QString string) {
if(string.toUtf8().length() > 120) myW->lineEdit_ChatInput->setMaxLength(string.length());
}