mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -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()
|
||||
{
|
||||
|
||||
@@ -78,6 +78,7 @@ namespace Utils
|
||||
QString osName();
|
||||
QString boostVersionString();
|
||||
QString libtorrentVersionString();
|
||||
QString opensslVersionString();
|
||||
|
||||
QString unitString(SizeUnit unit, bool isSpeed = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user