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

@ -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);