Remove unnecessary dynamic allocation

Also remove unneeded `if ()` conditional.
This commit is contained in:
Chocobo1
2018-07-21 16:35:40 +08:00
committed by sledgehammer999
parent d5430adaaa
commit c21bd77be5
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;