Remove unnecessary dynamic allocation

Also remove unneeded `if ()` conditional.
This commit is contained in:
Chocobo1 2018-07-21 16:35:40 +08:00
commit 517fc39950
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 14 additions and 28 deletions

View file

@ -66,7 +66,6 @@ namespace Net
private:
void assignNetworkReply(QNetworkReply *reply);
bool saveToFile(const QByteArray &replyData, QString &filePath);
void handleRedirection(QUrl newUrl);
QNetworkReply *m_reply;