mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Clang warnings: 'ChatLobbyDialog::init' hides overloaded virtual
function warning: 'ChatLobbyDialog::init' hides overloaded virtual function [- Woverloaded-virtual] virtual void init(); ^ /retroshare-gui/src/gui/chat/ChatDialog.h:87: hidden overloaded virtual function 'ChatDialog::init' declared here: different number of parameters (2 vs 0) virtual void init(ChatId id, const QString &title); ^
This commit is contained in:
parent
de4f6c06dd
commit
e0225efef3
@ -304,6 +304,11 @@ void ChatLobbyDialog::showInPeopleTab()
|
|||||||
idDialog->navigate(nickname);
|
idDialog->navigate(nickname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ChatLobbyDialog::init(ChatId /*id*/, const QString &/*title*/)
|
||||||
|
{
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
||||||
void ChatLobbyDialog::init()
|
void ChatLobbyDialog::init()
|
||||||
{
|
{
|
||||||
ChatLobbyInfo linfo ;
|
ChatLobbyInfo linfo ;
|
||||||
|
@ -71,7 +71,8 @@ protected:
|
|||||||
virtual ~ChatLobbyDialog();
|
virtual ~ChatLobbyDialog();
|
||||||
|
|
||||||
void processSettings(bool load);
|
void processSettings(bool load);
|
||||||
virtual void init();
|
virtual void init(ChatId id, const QString &title);
|
||||||
|
void init();
|
||||||
virtual bool canClose();
|
virtual bool canClose();
|
||||||
virtual void addChatMsg(const ChatMessage &msg);
|
virtual void addChatMsg(const ChatMessage &msg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user