mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -04:00
Reworked clear and delete of public and private chat history.
Fixed german language. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c448e82987
commit
17a57e0509
11 changed files with 142 additions and 94 deletions
|
@ -149,8 +149,8 @@ PopupChatDialog::PopupChatDialog(const std::string &id, const QString &name, QWi
|
|||
ui.chattextEdit->setAcceptDrops(false);
|
||||
|
||||
QMenu * toolmenu = new QMenu();
|
||||
toolmenu->addAction(ui.actionClear_Chat);
|
||||
toolmenu->addAction(ui.actionClear_Chat_History);
|
||||
toolmenu->addAction(ui.actionDelete_Chat_History);
|
||||
toolmenu->addAction(ui.actionSave_Chat_History);
|
||||
toolmenu->addAction(ui.actionClearOfflineMessages);
|
||||
toolmenu->addAction(ui.actionMessageHistory);
|
||||
|
@ -826,15 +826,15 @@ void PopupChatDialog::addSmiley()
|
|||
|
||||
//============================================================================
|
||||
|
||||
void PopupChatDialog::on_actionClear_Chat_triggered()
|
||||
void PopupChatDialog::on_actionClear_Chat_History_triggered()
|
||||
{
|
||||
ui.textBrowser->clear();
|
||||
}
|
||||
|
||||
void PopupChatDialog::on_actionClear_Chat_History_triggered()
|
||||
void PopupChatDialog::on_actionDelete_Chat_History_triggered()
|
||||
{
|
||||
ui.textBrowser->clear();
|
||||
historyKeeper.clearHistory();
|
||||
on_actionClear_Chat_History_triggered();
|
||||
historyKeeper.clear();
|
||||
}
|
||||
|
||||
void PopupChatDialog::updatePeerAvatar(const std::string& peer_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue