mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
removed question before sending invite, since the request is not in auto mode
This commit is contained in:
parent
9bbc832906
commit
438489fb01
1 changed files with 2 additions and 4 deletions
|
@ -905,10 +905,8 @@ void MessageWidget::sendInvite()
|
||||||
if(mi.from.type()!=MsgAddress::MSG_ADDRESS_TYPE_RSGXSID)
|
if(mi.from.type()!=MsgAddress::MSG_ADDRESS_TYPE_RSGXSID)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want send a invite with your Certificate?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Cancel))== QMessageBox::Yes)
|
//if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want to send an invite with your Certificate?"),QMessageBox::Yes, QMessageBox::No))== QMessageBox::Yes)
|
||||||
{
|
|
||||||
MessageComposer::sendInvite(mi.from.toGxsId(),false);
|
MessageComposer::sendInvite(mi.from.toGxsId(),false);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MessageWidget::setToolbarButtonStyle(Qt::ToolButtonStyle style)
|
void MessageWidget::setToolbarButtonStyle(Qt::ToolButtonStyle style)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue