Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2013-11-25 22:22:43 +0400
committerMarkus Goetz <markus@woboq.com>2013-11-25 22:25:19 +0400
commitfa715ce135cc0e93c741c44343f4b0576d4375a1 (patch)
treed3791d2933b63dde2186b7a785ce443568f8041e
parent911e0bdd6ebfda4a543b4df96cd7f6a00fcdb8e4 (diff)
Propagator: Open download file as Unbuffered
-rw-r--r--src/mirall/owncloudpropagator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index 24e6d0afc..2c6022ab3 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -677,7 +677,7 @@ void PropagateDownloadFile::start()
QFile tmpFile(_propagator->_localDir + tmpFileName);
_file = &tmpFile;
- if (!tmpFile.open(QIODevice::Append)) {
+ if (!tmpFile.open(QIODevice::Append | QIODevice::Unbuffered)) {
done(SyncFileItem::NormalError, tmpFile.errorString());
return;
}