Http credentials: Fix behavior for bad password #5989
authorChristian Kamm <mail@ckamm.de>
Thu, 7 Sep 2017 09:10:23 +0000 (11:10 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:04 +0000 (22:01 +0200)
commit359184927925d28a2678b2dc0ab75a0d5f9d0779
tree8d3092a8fb70656dbe908e287b42a0b7d99a984d
parent8a094d2b0ef489abd08c569d41cac609b2a9751a
Http credentials: Fix behavior for bad password #5989

When the GET request from askFromUser is scheduled on the QNAM inside
the slot that handles the QNetworkReply::finished signal, it seems to
not get processed at all.

This workaround moves the sending of the new GET to the event loop,
sidestepping the problem.
src/gui/creds/httpcredentialsgui.cpp
src/gui/creds/httpcredentialsgui.h