Permalink
Browse files

Fixed imgur authentication

  • Loading branch information...
1 parent f3a9237 commit 5ea0ef404fb3a3b29d003fcb05a2633ef6837ec9 @ckaiser committed Dec 18, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/uploader/imguruploader.cpp
@@ -185,9 +185,9 @@ void ImgurUploader::uploadProgress(qint64 bytesReceived, qint64 bytesTotal)
void ImgurUploader::authorizationReply(QNetworkReply *reply, AuthorizationCallback callback)
{
- reply->deleteLater();
-
connect(reply, &QNetworkReply::finished, [reply, callback] {
+ reply->deleteLater();
+
bool authorized = false;
const QJsonObject imgurResponse = QJsonDocument::fromJson(reply->readAll()).object();

0 comments on commit 5ea0ef4

Please sign in to comment.