Clear chat

Users can now clear the chat in the main lobby. This removes unwanted
text and clears up memory when the client has been open a long time.
This commit is contained in:
Matt Lowe 2015-01-13 00:33:27 +01:00
parent 7476667b69
commit 2e342361a5
4 changed files with 15 additions and 0 deletions

View file

@ -37,6 +37,7 @@ public:
void retranslateUi();
void appendHtml(const QString &html);
void appendMessage(QString message, QString sender = QString(), UserLevelFlags userLevel = UserLevelFlags(), bool playerBold = false);
void clearChat();
protected:
void enterEvent(QEvent *event);
void leaveEvent(QEvent *event);