mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
Removed some more compiler warnings from Windows compile (GCC 4.4).
Added -Wextra to the Windows compile. Added new define in libbitdht for snprintf and fprintf to proper handling of "%ll" under Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2d2b7230d1
commit
970d88200d
35 changed files with 170 additions and 125 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
static void closeChat(const std::string &peerId);
|
||||
static void chatChanged(int list, int type);
|
||||
|
||||
virtual void showDialog(uint chatflags) {}
|
||||
virtual void showDialog(uint /*chatflags*/) {}
|
||||
|
||||
virtual ChatWidget *getChatWidget() = 0;
|
||||
virtual bool hasPeerStatus() = 0;
|
||||
|
@ -79,7 +79,7 @@ protected:
|
|||
virtual bool canClose() { return true; }
|
||||
|
||||
virtual void init(const std::string &peerId, const QString &title);
|
||||
virtual void onChatChanged(int list, int type) {}
|
||||
virtual void onChatChanged(int /*list*/, int /*type*/) {}
|
||||
|
||||
virtual void addIncomingChatMsg(const ChatInfo& info) = 0;
|
||||
|
||||
|
|
|
@ -297,7 +297,7 @@ void PopupChatWindow::getAvatar()
|
|||
}
|
||||
}
|
||||
|
||||
void PopupChatWindow::tabClosed(ChatDialog *dialog)
|
||||
void PopupChatWindow::tabClosed(ChatDialog */*dialog*/)
|
||||
{
|
||||
if (tabbedWindow) {
|
||||
if (ui.tabWidget->count() == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue