mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Add OpenSSL version to GUI & stackdump
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QDebug>
|
||||
#include <QFileInfo>
|
||||
@@ -577,6 +579,12 @@ QString Utils::Misc::libtorrentVersionString()
|
||||
return ver;
|
||||
}
|
||||
|
||||
QString Utils::Misc::opensslVersionString()
|
||||
{
|
||||
const QString version {OPENSSL_VERSION_TEXT};
|
||||
return version.split(' ', QString::SkipEmptyParts)[1];
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
QString Utils::Misc::windowsSystemPath()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user