diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:56:17 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:56:17 (GMT) |
commit | 833e544490a0e3ff5eeebe44fae2b9a8f98d4a78 (patch) | |
tree | b7381c1325155ae666cac88180cca829b9e65bba /Swift/QtUI | |
parent | ed208c8ce62dea1bdec51e904d51afa5229363c5 (diff) | |
download | swift-contrib-833e544490a0e3ff5eeebe44fae2b9a8f98d4a78.zip swift-contrib-833e544490a0e3ff5eeebe44fae2b9a8f98d4a78.tar.bz2 |
Removed unneeded parameter "from"
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/QtChatWindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index 3204933..fbbbf34 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -596,7 +596,7 @@ void QtChatWindow::setFileTransferStatus(std::string id, const FileTransferState messageLog_->setFileTransferStatus(QString::fromStdString(id), state, QString::fromStdString(msg)); } -std::string QtChatWindow::addWhiteboardRequest(const JID& from, bool senderIsSelf) { +std::string QtChatWindow::addWhiteboardRequest(bool senderIsSelf) { QString wb_id = QString("wb%1").arg(P2QSTRING(boost::lexical_cast<std::string>(idCounter_++))); QString htmlString; if (senderIsSelf) { diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h index a70f280..4128952 100644 --- a/Swift/QtUI/QtChatWindow.h +++ b/Swift/QtUI/QtChatWindow.h @@ -63,7 +63,7 @@ namespace Swift { void setFileTransferProgress(std::string id, const int percentageDone); void setFileTransferStatus(std::string id, const FileTransferState state, const std::string& msg); - std::string addWhiteboardRequest(const JID& from, bool senderIsSelf); + std::string addWhiteboardRequest(bool senderIsSelf); void setWhiteboardSessionStatus(std::string id, const ChatWindow::WhiteboardSessionState state); void show(); |