Max OOC name limited, unnecessary variable removed.

This commit is contained in:
Cerapter 2018-07-28 14:41:42 +02:00
parent 1b70d4d6db
commit c1807e0888
2 changed files with 1 additions and 2 deletions

View File

@ -111,6 +111,7 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
ui_ooc_chat_name = new QLineEdit(this);
ui_ooc_chat_name->setFrame(false);
ui_ooc_chat_name->setPlaceholderText("Name");
ui_ooc_chat_name->setMaxLength(30);
ui_ooc_chat_name->setText(p_ao_app->get_default_username());

View File

@ -164,8 +164,6 @@ private:
// A stack of inline colours.
std::stack<INLINE_COLOURS> inline_colour_stack;
bool centre_text = false;
bool next_character_is_not_special = false; // If true, write the
// next character as it is.