Http credentials: Fix behavior for bad password #5989
authorChristian Kamm <mail@ckamm.de>
Thu, 7 Sep 2017 09:10:23 +0000 (11:10 +0200)
committerckamm <mail@ckamm.de>
Thu, 7 Sep 2017 09:23:24 +0000 (11:23 +0200)
commit506f7c0764ae8649a3e0d183a2c11a61f693db55
treec62ac77dc7cd2d7a3da2d9f10c8fba0d3d79c555
parent4b686a43949668f71cb6556842b2a099a91de755
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