mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-20 10:47:39 +00:00
SCRATCH separate the generic updater logic from the application
This commit is contained in:
@@ -36,7 +36,7 @@ void ImgurAlbumCreation::start()
|
||||
auto worker = ENV.qnam();
|
||||
QNetworkReply *rep = worker->post(request, data);
|
||||
|
||||
m_reply = std::shared_ptr<QNetworkReply>(rep);
|
||||
m_reply.reset(rep);
|
||||
connect(rep, &QNetworkReply::uploadProgress, this, &ImgurAlbumCreation::downloadProgress);
|
||||
connect(rep, &QNetworkReply::finished, this, &ImgurAlbumCreation::downloadFinished);
|
||||
connect(rep, SIGNAL(error(QNetworkReply::NetworkError)),
|
||||
|
||||
Reference in New Issue
Block a user