mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
chore: post some ssl info on startup (#5475)
This commit is contained in:
parent
052dbd7d2c
commit
7dc80bc599
20
src/main.cpp
20
src/main.cpp
|
@ -18,6 +18,7 @@
|
|||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QMessageBox>
|
||||
#include <QSslSocket>
|
||||
#include <QStringList>
|
||||
|
||||
#include <memory>
|
||||
|
@ -90,6 +91,25 @@ int main(int argc, char **argv)
|
|||
attachToConsole();
|
||||
}
|
||||
|
||||
qCInfo(chatterinoApp).noquote()
|
||||
<< "Chatterino Qt SSL library build version:"
|
||||
<< QSslSocket::sslLibraryBuildVersionString();
|
||||
qCInfo(chatterinoApp).noquote()
|
||||
<< "Chatterino Qt SSL library version:"
|
||||
<< QSslSocket::sslLibraryVersionString();
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 1, 0)
|
||||
qCInfo(chatterinoApp).noquote()
|
||||
<< "Chatterino Qt SSL active backend:"
|
||||
<< QSslSocket::activeBackend() << "of"
|
||||
<< QSslSocket::availableBackends().join(", ");
|
||||
# if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
qCInfo(chatterinoApp) << "Chatterino Qt SSL active backend features:"
|
||||
<< QSslSocket::supportedFeatures();
|
||||
# endif
|
||||
qCInfo(chatterinoApp) << "Chatterino Qt SSL active backend protocols:"
|
||||
<< QSslSocket::supportedProtocols();
|
||||
#endif
|
||||
|
||||
Updates updates(*paths);
|
||||
|
||||
NetworkConfigurationProvider::applyFromEnv(Env::get());
|
||||
|
|
Loading…
Reference in a new issue