Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 28, 2024
1 parent e325067 commit 5bed4d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,12 @@ int main(int argc, char *argv[])
QDateTime::currentDateTime().toString(),
QSysInfo::productType());

// sslLibraryBuildVersionString will cause crash on macOS.
#if !defined(Q_OS_MACOS)
qInfo() << "OpenSSL build version:" << QSslSocket::sslLibraryBuildVersionString()
<< "link version:" << QSslSocket::sslLibraryVersionString();

if (QSslSocket::sslLibraryBuildVersionNumber() != QSslSocket::sslLibraryVersionNumber()) {
qWarning() << "versions of the built and linked OpenSSL mismatch, network may not work";
}
#endif

// Should set the correct locale before VNoteX::getInst().
loadTranslators(app);
Expand Down

0 comments on commit 5bed4d4

Please sign in to comment.