summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-05 11:45:52 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-05 11:45:52 (GMT)
commit559ab08f0a214f57cc84887eb65128519d1dc7f5 (patch)
tree601bee9ae4dbc128438ebbb0d4bd70db817992d6 /Swift
parent348a4f13c5f00a27ad5c7e4f392948de7cc454e3 (diff)
downloadswift-559ab08f0a214f57cc84887eb65128519d1dc7f5.zip
swift-559ab08f0a214f57cc84887eb65128519d1dc7f5.tar.bz2
Fix two warnings
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/ChatList/QtChatListWindowFactory.cpp2
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}