diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/Chat/UserSearchController.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/QtMUCConfigurationWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp index 47d57d4..839f4fa 100644 --- a/Swift/Controllers/Chat/UserSearchController.cpp +++ b/Swift/Controllers/Chat/UserSearchController.cpp @@ -48,7 +48,7 @@ void UserSearchController::handleUIEvent(boost::shared_ptr<UIEvent> event) { bool handle = false; boost::shared_ptr<RequestAddUserDialogUIEvent> request = boost::shared_ptr<RequestAddUserDialogUIEvent>(); if (type_ == AddContact) { - if (request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event)) { + if ((request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event))) { handle = true; } } else { diff --git a/Swift/QtUI/QtMUCConfigurationWindow.cpp b/Swift/QtUI/QtMUCConfigurationWindow.cpp index 6fdfd43..83a5f35 100644 --- a/Swift/QtUI/QtMUCConfigurationWindow.cpp +++ b/Swift/QtUI/QtMUCConfigurationWindow.cpp @@ -44,7 +44,7 @@ QtMUCConfigurationWindow::~QtMUCConfigurationWindow() { } -void QtMUCConfigurationWindow::closeEvent(QCloseEvent* event) { +void QtMUCConfigurationWindow::closeEvent(QCloseEvent* /*event*/) { if (!closed_) { onFormCancelled(); } |