Windows: Reset QNAM as a workaround. #2899 #2895 #2973
authorChristian Kamm <kamm@incasoftware.de>
Thu, 19 Mar 2015 10:40:47 +0000 (11:40 +0100)
committerChristian Kamm <kamm@incasoftware.de>
Thu, 19 Mar 2015 10:40:47 +0000 (11:40 +0100)
commit57c14a0ebab56c322fe2b42e33e557cc42a70781
treedefb1a25c40ddc5cccafc59dd14593a18c71657c
parent89f831e7d4fa6f27c48d34fba54583d3edb7f50d
Windows: Reset QNAM as a workaround. #2899 #2895 #2973

The QNetworkAccessManager is reset when we are disconnected, just
before attempting to fetch the server's status.php.

This may help fix the problem described in various issues where we
get 'Connection closed' or timeout errors after the OS has woken
from sleep.
src/gui/accountstate.cpp
src/libsync/account.cpp
src/libsync/account.h