diff options
Diffstat (limited to 'api/logic/net/FileSink.cpp')
-rw-r--r-- | api/logic/net/FileSink.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/net/FileSink.cpp b/api/logic/net/FileSink.cpp index b4c418a5..e912b1c9 100644 --- a/api/logic/net/FileSink.cpp +++ b/api/logic/net/FileSink.cpp @@ -30,6 +30,7 @@ JobStatus FileSink::init(QNetworkRequest& request) qCritical() << "Could not create folder for " + m_filename; return Job_Failed; } + wroteAnyData = false; m_output_file.reset(new QSaveFile(m_filename)); if (!m_output_file->open(QIODevice::WriteOnly)) { |