mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Added a confirm to the delete history action.
Added the RetroShare icon to the password input window. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
01f4244f24
commit
28ebbf0b2e
5 changed files with 62 additions and 46 deletions
|
@ -833,8 +833,10 @@ void PopupChatDialog::on_actionClear_Chat_History_triggered()
|
|||
|
||||
void PopupChatDialog::on_actionDelete_Chat_History_triggered()
|
||||
{
|
||||
on_actionClear_Chat_History_triggered();
|
||||
historyKeeper.clear();
|
||||
if ((QMessageBox::question(this, "RetroShare", tr("Do you really want to physically delete the history?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) == QMessageBox::Yes) {
|
||||
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