Update coverdialog.cpp
This seems to be safier
This commit is contained in:
@@ -922,8 +922,8 @@ NetworkJob * CoverDialog::downloadImage(const QString &url, DownloadType dlType)
|
||||
return nullptr;
|
||||
}
|
||||
tmp->remove();
|
||||
delete tmp;
|
||||
tempFiles.removeAll(tmp);
|
||||
delete tmp;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user