diff options
| -rw-r--r-- | courtroom.cpp | 1 | ||||
| -rw-r--r-- | courtroom.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index 55a17846..70e3f662 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -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()); diff --git a/courtroom.h b/courtroom.h index 590de3d0..4569156c 100644 --- a/courtroom.h +++ b/courtroom.h @@ -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. |
