mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
Add OpenSSL version to GUI & stackdump
This commit is contained in:
parent
6bb4eb825b
commit
f13bcbd772
5 changed files with 40 additions and 8 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue