mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
restored channel key restore
created new action for delete channel history git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4017 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c0201b8dd2
commit
dbe0890974
5 changed files with 26 additions and 4 deletions
|
@ -150,6 +150,7 @@ PopupChatDialog::PopupChatDialog(const std::string &id, const QString &name, QWi
|
|||
|
||||
QMenu * toolmenu = new QMenu();
|
||||
toolmenu->addAction(ui.actionClear_Chat);
|
||||
toolmenu->addAction(ui.actionClear_Chat_History);
|
||||
toolmenu->addAction(ui.actionSave_Chat_History);
|
||||
toolmenu->addAction(ui.actionClearOfflineMessages);
|
||||
toolmenu->addAction(ui.actionMessageHistory);
|
||||
|
@ -826,6 +827,11 @@ void PopupChatDialog::addSmiley()
|
|||
//============================================================================
|
||||
|
||||
void PopupChatDialog::on_actionClear_Chat_triggered()
|
||||
{
|
||||
ui.textBrowser->clear();
|
||||
}
|
||||
|
||||
void PopupChatDialog::on_actionClear_Chat_History_triggered()
|
||||
{
|
||||
ui.textBrowser->clear();
|
||||
historyKeeper.clearHistory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue