From 559ab08f0a214f57cc84887eb65128519d1dc7f5 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Mon, 5 Apr 2010 12:45:52 +0100 Subject: Fix two warnings diff --git a/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp b/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp index 5540206..9f186d0 100644 --- a/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp +++ b/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp @@ -9,7 +9,7 @@ QtChatListWindowFactory::QtChatListWindowFactory(QtMainWindowFactory* mainWindow mainWindowFactory_ = mainWindowFactory; } -ChatListWindow* QtChatListWindowFactory::createWindow(UIEventStream* uiEventStream) { +ChatListWindow* QtChatListWindowFactory::createWindow(UIEventStream* /*uiEventStream*/) { return ((QtMainWindow*)mainWindowFactory_->getLastCreatedWindow())->getChatListWindow(); } diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp index be11a3e..eadd083 100644 --- a/Swift/QtUI/Roster/QtTreeWidget.cpp +++ b/Swift/QtUI/Roster/QtTreeWidget.cpp @@ -50,7 +50,7 @@ void QtTreeWidget::handleItemActivated(const QModelIndex& index) { } } -void QtTreeWidget::contextMenuEvent(QContextMenuEvent* event) { +void QtTreeWidget::contextMenuEvent(QContextMenuEvent* /*event*/) { if (!contextMenu_) { return; } -- cgit v0.10.2-6-g49f6