mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 01:24:15 -05:00
Fix Clang warnings: 'PopupDistantChatDialog::init' hides overloaded
virtual function
warning: 'PopupDistantChatDialog::init' hides overloaded virtual
function [-Woverloaded-virtual]
virtual void init(const DistantChatPeerId& peer_id);
/retroshare-gui/src/gui/chat/PopupChatDialog.h:49: hidden overloaded
virtual function 'PopupChatDialog::init' declared here: different number
of parameters (2 vs 1)
virtual void init(const ChatId &chat_id, const QString &title);
This commit is contained in:
parent
eea49d96bf
commit
07b67e9cc9
3 changed files with 10 additions and 7 deletions
|
|
@ -109,7 +109,7 @@ void ChatDialog::init(const ChatId &id, const QString &title)
|
|||
{
|
||||
PopupDistantChatDialog* pdcd = new PopupDistantChatDialog(id.toDistantChatId());
|
||||
|
||||
pdcd->init(id.toDistantChatId());
|
||||
pdcd->init(id, "");
|
||||
cd = pdcd;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue