diff options
author | Tobias Markmann <tm@ayena.de> | 2015-06-10 20:23:42 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-06-11 06:43:32 (GMT) |
commit | 93248fdd5a4974a00c1dec6068950c61f58b84fe (patch) | |
tree | 4fddc9941d46ee0590ce99bce89623b8f81ff0cc | |
parent | b2093a372874aefb4f56f66a70a96f78d6cbbaec (diff) | |
download | swift-93248fdd5a4974a00c1dec6068950c61f58b84fe.zip swift-93248fdd5a4974a00c1dec6068950c61f58b84fe.tar.bz2 |
Update progress bar on incoming file transfers
Test-Information:
Send a file from one Swift to another. Previously the progress bar did
not update in the receiving client. Now it does.
Change-Id: Ie710a4c1cfc389d6fcfb93de96250a80787883d3
-rw-r--r-- | Swiften/FileTransfer/IncomingJingleFileTransfer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp b/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp index 98ad4d3..877b2fd 100644 --- a/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp +++ b/Swiften/FileTransfer/IncomingJingleFileTransfer.cpp @@ -210,6 +210,7 @@ void IncomingJingleFileTransfer::handleWriteStreamDataReceived( const std::vector<unsigned char>& data) { hashCalculator->feedData(data); receivedBytes += data.size(); + onProcessedBytes(data.size()); checkIfAllDataReceived(); } |