NOISSUE use unique_ptr for cached download's QSaveFile

This commit is contained in:
Petr Mrázek 2016-03-20 15:56:10 +01:00
parent ff8f495d44
commit 2929ca7413

View File

@ -32,7 +32,7 @@ private:
QString m_target_path; QString m_target_path;
/// this is the output file, if any /// this is the output file, if any
std::shared_ptr<QSaveFile> m_output_file; std::unique_ptr<QSaveFile> m_output_file;
/// the hash-as-you-download /// the hash-as-you-download
QCryptographicHash md5sum; QCryptographicHash md5sum;