mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
Fix Clang warnings: change ChatDialog::init definition
warning: 'PopupChatDialog::init' hides overloaded virtual function [- Woverloaded-virtual] virtual void init(const ChatId &chat_id, const QString &title); ^ /retroshare-gui/src/gui/chat/ChatDialog.h:87: hidden overloaded virtual function 'ChatDialog::init' declared here: type mismatch at 1st parameter ('ChatId' vs 'const ChatId &') virtual void init(ChatId id, const QString &title); ^
This commit is contained in:
parent
9319caffc7
commit
eea49d96bf
5 changed files with 6 additions and 12 deletions
|
@ -71,8 +71,7 @@ protected:
|
|||
virtual ~ChatLobbyDialog();
|
||||
|
||||
void processSettings(bool load);
|
||||
virtual void init(ChatId id, const QString &title);
|
||||
void init();
|
||||
virtual void init(const ChatId &id, const QString &title);
|
||||
virtual bool canClose();
|
||||
virtual void addChatMsg(const ChatMessage &msg);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue