From 47b1e2025726f7570f02b826e3a566c136e961fb Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 2 Aug 2016 13:43:41 +0300 Subject: [PATCH] Fixed issue #538. QSslSocket error messages during startup in newest development build. --HG-- branch : develop --- src/libs/vmisc/vabstractapplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index c8e7ea71f..4dd5b735c 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -80,11 +80,11 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv) Settings()->sync(); }); -#if !defined(V_NO_ASSERT) +#if defined(V_NO_ASSERT) // Ignore SSL-related warnings // See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method. qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false"); -#endif //!defined(V_NO_ASSERT) +#endif //defined(V_NO_ASSERT) } //---------------------------------------------------------------------------------------------------------------------