mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
made delete button and delete menu item call the same functions, so as to make the actions identical
This commit is contained in:
parent
234a510d6f
commit
f6bcfb549a
3 changed files with 8 additions and 6 deletions
|
@ -738,7 +738,8 @@ void MessageWidget::remove()
|
|||
return;
|
||||
}
|
||||
|
||||
bool deleteReal = false;
|
||||
#ifdef TO_REMOVE
|
||||
bool deleteReal = false;
|
||||
if (msgInfo.msgflags & RS_MSG_TRASH) {
|
||||
deleteReal = true;
|
||||
} else {
|
||||
|
@ -763,8 +764,8 @@ void MessageWidget::remove()
|
|||
deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
emit messageRemoved();
|
||||
#endif
|
||||
emit messageRemovalRequested(currMsgId);
|
||||
}
|
||||
|
||||
void MessageWidget::print()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue