Max OOC name limited, unnecessary variable removed.
This commit is contained in:
parent
1b70d4d6db
commit
c1807e0888
@ -111,6 +111,7 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
|
|||||||
ui_ooc_chat_name = new QLineEdit(this);
|
ui_ooc_chat_name = new QLineEdit(this);
|
||||||
ui_ooc_chat_name->setFrame(false);
|
ui_ooc_chat_name->setFrame(false);
|
||||||
ui_ooc_chat_name->setPlaceholderText("Name");
|
ui_ooc_chat_name->setPlaceholderText("Name");
|
||||||
|
ui_ooc_chat_name->setMaxLength(30);
|
||||||
|
|
||||||
ui_ooc_chat_name->setText(p_ao_app->get_default_username());
|
ui_ooc_chat_name->setText(p_ao_app->get_default_username());
|
||||||
|
|
||||||
|
@ -164,8 +164,6 @@ private:
|
|||||||
// A stack of inline colours.
|
// A stack of inline colours.
|
||||||
std::stack<INLINE_COLOURS> inline_colour_stack;
|
std::stack<INLINE_COLOURS> inline_colour_stack;
|
||||||
|
|
||||||
bool centre_text = false;
|
|
||||||
|
|
||||||
bool next_character_is_not_special = false; // If true, write the
|
bool next_character_is_not_special = false; // If true, write the
|
||||||
// next character as it is.
|
// next character as it is.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user