mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 12:33:55 -07:00
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:
parent
7476667b69
commit
2e342361a5
4 changed files with 15 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ private:
|
|||
QMenu *roomMenu;
|
||||
QAction *aLeaveRoom;
|
||||
QAction *aIgnoreUnregisteredUsers;
|
||||
QAction * aClearChat;
|
||||
QString sanitizeHtml(QString dirty) const;
|
||||
signals:
|
||||
void roomClosing(TabRoom *tab);
|
||||
|
|
@ -53,6 +54,7 @@ private slots:
|
|||
void sayFinished(const Response &response);
|
||||
void actLeaveRoom();
|
||||
void actIgnoreUnregisteredUsers();
|
||||
void actClearChat();
|
||||
void ignoreUnregisteredUsersChanged();
|
||||
|
||||
void processListGamesEvent(const Event_ListGames &event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue