Fixed issue #538. QSslSocket error messages during startup in newest development

build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-02 13:43:41 +03:00
parent 23f2a528cf
commit 47b1e20257

View File

@ -80,11 +80,11 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
Settings()->sync(); Settings()->sync();
}); });
#if !defined(V_NO_ASSERT) #if defined(V_NO_ASSERT)
// Ignore SSL-related warnings // Ignore SSL-related warnings
// See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method. // See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method.
qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false"); qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false");
#endif //!defined(V_NO_ASSERT) #endif //defined(V_NO_ASSERT)
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------