QNAM: Try to workaround missing Qt patches #4720 #3888 #4051
authorMarkus Goetz <markus@woboq.com>
Tue, 31 May 2016 08:20:29 +0000 (10:20 +0200)
committerMarkus Goetz <markus@woboq.com>
Tue, 31 May 2016 08:26:52 +0000 (10:26 +0200)
We try this on all platforms now so we have more consistent behaviour.

src/gui/accountstate.cpp

index 08edc43bfb1d0d4cfd2ebdc310b85afa798c1c9c..a368a21939384e1444553dca39bebbd53aaea24d 100644 (file)
@@ -190,7 +190,8 @@ void AccountState::checkConnectivity()
     } else {
         // Check the server and then the auth.
 
-#ifdef Q_OS_WIN
+// Let's try this for all OS and see if it fixes the Qt issues we have on Linux  #4720 #3888 #4051
+//#ifdef Q_OS_WIN
         // There seems to be a bug in Qt on Windows where QNAM sometimes stops
         // working correctly after the computer woke up from sleep. See #2895 #2899
         // and #2973.
@@ -201,7 +202,7 @@ void AccountState::checkConnectivity()
         // If we don't reset the ssl config a second CheckServerJob can produce a
         // ssl config that does not have a sensible certificate chain.
         account()->setSslConfiguration(QSslConfiguration());
-#endif
+//#endif
         conValidator->checkServerAndAuth();
     }
 }