summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer/FileTransfer.cpp')
-rw-r--r--Swiften/FileTransfer/FileTransfer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/FileTransfer/FileTransfer.cpp b/Swiften/FileTransfer/FileTransfer.cpp
index f63a4e8..4782d39 100644
--- a/Swiften/FileTransfer/FileTransfer.cpp
+++ b/Swiften/FileTransfer/FileTransfer.cpp
@@ -19,7 +19,8 @@ void FileTransfer::setState(const State& state) {
onStateChanged(state);
}
-void FileTransfer::setFileInfo(const std::string& name, boost::uintmax_t size) {
+void FileTransfer::setFileInfo(const std::string& name, boost::uintmax_t size, const std::string& description) {
filename_ = name;
fileSizeInBytes_ = size;
+ description_ = description;
}