AccountWizard: Fix auth error handling. #3155
authorChristian Kamm <kamm@incasoftware.de>
Fri, 24 Apr 2015 13:20:13 +0000 (15:20 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Fri, 24 Apr 2015 14:03:28 +0000 (16:03 +0200)
commit78e82eb92060c5562592a3dfefe1dfbc05e9c602
tree8f6afe878af9b7a976ccbfd50668eca7ff219a3a
parent3c91a1ace4d09076cbc7bdc292f92c0627f4a3b7
AccountWizard: Fix auth error handling. #3155

The problem was that on network error the networkError() and
finishedWithError() signals both fired. To fix it, I collapse all
error handing into a slot triggered by finishedWithError().

I tested the redirection case and the invalid credentials case.
src/gui/owncloudsetupwizard.cpp
src/gui/owncloudsetupwizard.h