mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 15:50:38 -04:00
Fix Clang warnings: unused variable 'action'
warning: unused variable 'action' [-Wunused-variable] QAction *action = contextMenu- >addAction(QIcon(":/images/chat_24.png"),tr("Copy identity to clipboard"),this,SLOT(copyRetroshareLink())) ;
This commit is contained in:
parent
490f8d2f54
commit
f22dc0f0df
1 changed files with 2 additions and 2 deletions
|
@ -2408,8 +2408,8 @@ void IdDialog::IdListCustomPopupMenu( QPoint )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(n_selected_items==1)
|
if (n_selected_items==1)
|
||||||
QAction *action = contextMenu->addAction(QIcon(":/images/chat_24.png"),tr("Copy identity to clipboard"),this,SLOT(copyRetroshareLink())) ;
|
contextMenu->addAction(QIcon(":/images/chat_24.png"),tr("Copy identity to clipboard"),this,SLOT(copyRetroshareLink())) ;
|
||||||
|
|
||||||
// always allow to send messages
|
// always allow to send messages
|
||||||
contextMenu->addAction(QIcon(":/images/mail_new.png"), tr("Send message"), this, SLOT(sendMsg()));
|
contextMenu->addAction(QIcon(":/images/mail_new.png"), tr("Send message"), this, SLOT(sendMsg()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue