diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-10-12 16:04:46 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-10-12 16:04:46 (GMT) |
commit | d61e38a1c710f1175e3d3e3dfe034695988001fe (patch) | |
tree | a37f782f760dfb9893c60fc9529d6b942002c252 /Swift | |
parent | a6375f56f0df8853914955d3a4b3f6cde8f0f88b (diff) | |
download | swift-contrib-d61e38a1c710f1175e3d3e3dfe034695988001fe.zip swift-contrib-d61e38a1c710f1175e3d3e3dfe034695988001fe.tar.bz2 |
Silence warning
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index 6b6dedf..1f58064 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -760,19 +760,19 @@ void QtChatWindow::setAffiliations(MUCOccupant::Affiliation affiliation, const s void QtChatWindow::showRoomConfigurationForm(Form::ref form) { if (mucConfigurationWindow_) { delete mucConfigurationWindow_.data(); } mucConfigurationWindow_ = new QtMUCConfigurationWindow(form); mucConfigurationWindow_->onFormComplete.connect(boost::bind(boost::ref(onConfigureRequest), _1)); mucConfigurationWindow_->onFormCancelled.connect(boost::bind(boost::ref(onConfigurationFormCancelled))); } -void QtChatWindow::addMUCInvitation(const JID& jid, const std::string& reason, const std::string& password) { +void QtChatWindow::addMUCInvitation(const JID& jid, const std::string& reason, const std::string& /*password*/) { bool accepted = false; QMessageBox msgBox; msgBox.setText(QString("You have been invited to the room %1 by %2.").arg(P2QSTRING(jid.toString())).arg(contact_)); QString reasonString; if (!reason.empty()) { reasonString = QString("\"%1\"").arg(P2QSTRING(reason)); } msgBox.setInformativeText(QString("Accept invitation from %1 to enter %2?\n%3").arg(contact_).arg(P2QSTRING(jid.toString())).arg(reasonString)); msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); |