NOISSUE use unique_ptr for cached download's QSaveFile
This commit is contained in:
parent
ff8f495d44
commit
2929ca7413
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user