mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
Remove unused conditional
This commit is contained in:
parent
e31c3376bd
commit
a5a4ea9ba0
@ -585,12 +585,10 @@ QString Utils::Misc::libtorrentVersionString()
|
||||
|
||||
QString Utils::Misc::opensslVersionString()
|
||||
{
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x1010000f)
|
||||
static const auto version {QString::fromLatin1(OpenSSL_version(OPENSSL_VERSION))};
|
||||
#else
|
||||
static const auto version {QString::fromLatin1(SSLeay_version(SSLEAY_VERSION))};
|
||||
#endif
|
||||
return version.section(u' ', 1, 1);
|
||||
// static initialization for usage in signal handler
|
||||
static const auto version {QString::fromLatin1(::OpenSSL_version(OPENSSL_VERSION))
|
||||
.section(u' ', 1, 1)};
|
||||
return version;
|
||||
}
|
||||
|
||||
QString Utils::Misc::zlibVersionString()
|
||||
|
Loading…
Reference in New Issue
Block a user