NOISSUE use unique_ptr for cached download's QSaveFile
This commit is contained in:
parent
ff8f495d44
commit
2929ca7413
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ private:
|
|||
QString m_target_path;
|
||||
|
||||
/// 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
|
||||
QCryptographicHash md5sum;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue