QNAM: Try to workaround missing Qt patches #4720 #3888 #4051

We try this on all platforms now so we have more consistent behaviour.
This commit is contained in:
Markus Goetz 2016-05-31 10:20:29 +02:00
Родитель af2b712dc6
Коммит de82d8fcdb
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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();
}
}