mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
Added new dialog to set service permissions for friends.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
62a22fe0fe
commit
439ccc94f4
11 changed files with 474 additions and 102 deletions
|
@ -201,7 +201,7 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WFlags flags)
|
|||
connect(NotifyQt::getInstance(), SIGNAL(peerStatusChanged(const QString&,int)), this, SLOT(peerStatusChanged(const QString&,int)));
|
||||
connect(ui.friendSelectionWidget, SIGNAL(contentChanged()), this, SLOT(buildCompleter()));
|
||||
connect(ui.friendSelectionWidget, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextMenuMsgSendList(QPoint)));
|
||||
connect(ui.friendSelectionWidget, SIGNAL(doubleClicked(IdType,QString)), this, SLOT(addTo()));
|
||||
connect(ui.friendSelectionWidget, SIGNAL(doubleClicked(int,QString)), this, SLOT(addTo()));
|
||||
|
||||
/* hide the Tree +/- */
|
||||
ui.msgFileList -> setRootIsDecorated( false );
|
||||
|
@ -2281,13 +2281,13 @@ void MessageComposer::addRecommend()
|
|||
void MessageComposer::friendDetails()
|
||||
{
|
||||
FriendSelectionWidget::IdType idType;
|
||||
QString id = ui.friendSelectionWidget->selectedId(idType);
|
||||
std::string id = ui.friendSelectionWidget->selectedId(idType);
|
||||
|
||||
if (id.isEmpty() || idType != FriendSelectionWidget::IDTYPE_SSL) {
|
||||
if (id.empty() || idType != FriendSelectionWidget::IDTYPE_SSL) {
|
||||
return;
|
||||
}
|
||||
|
||||
ConfCertDialog::showIt(id.toStdString(), ConfCertDialog::PageDetails);
|
||||
ConfCertDialog::showIt(id, ConfCertDialog::PageDetails);
|
||||
}
|
||||
|
||||
void MessageComposer::tagAboutToShow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue