mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Create helper function to get libtorrent version
This commit is contained in:
parent
12627bbc10
commit
d0e31adaf7
4 changed files with 15 additions and 7 deletions
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include <QString>
|
||||
#include <QDialog>
|
||||
#include "libtorrent/version.hpp"
|
||||
#include "base/utils/misc.h"
|
||||
#include "ui_stacktrace_win_dlg.h"
|
||||
|
||||
|
@ -62,13 +61,14 @@ public:
|
|||
"<br/><hr><br/>"
|
||||
"<p align=center><font size=4>"
|
||||
"qBittorrent version: " VERSION "<br/>"
|
||||
"Libtorrent version: " LIBTORRENT_VERSION "<br/>"
|
||||
"Libtorrent version: %1<br/>"
|
||||
"Qt version: " QT_VERSION_STR "<br/>"
|
||||
"Boost version: %1<br/>"
|
||||
"OS version: %2"
|
||||
"Boost version: %2<br/>"
|
||||
"OS version: %3"
|
||||
"</font></p><br/>"
|
||||
"<pre><code>%3</code></pre>"
|
||||
"<pre><code>%4</code></pre>"
|
||||
"<br/><hr><br/><br/>")
|
||||
.arg(Utils::Misc::libtorrentVersionString())
|
||||
.arg(Utils::Misc::boostVersionString())
|
||||
.arg(Utils::Misc::osName())
|
||||
.arg(trace);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue