mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
Indicate bitness in stackstrace and about dialog. Closes #6172.
This commit is contained in:
parent
c37ff51004
commit
bc910798da
2 changed files with 10 additions and 2 deletions
|
@ -60,7 +60,11 @@ public:
|
|||
"</p></font>"
|
||||
"<br/><hr><br/>"
|
||||
"<p align=center><font size=4>"
|
||||
"qBittorrent version: " QBT_VERSION "<br/>"
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
"qBittorrent version: " QBT_VERSION " (64-bit)<br/>"
|
||||
#else
|
||||
"qBittorrent version: " QBT_VERSION " (32-bit)<br/>"
|
||||
#endif
|
||||
"Libtorrent version: %1<br/>"
|
||||
"Qt version: " QT_VERSION_STR "<br/>"
|
||||
"Boost version: %2<br/>"
|
||||
|
|
|
@ -47,7 +47,11 @@ public:
|
|||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
// Title
|
||||
lb_name->setText("<b><h2>qBittorrent " QBT_VERSION "</h2></b>");
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
lb_name->setText("<b><h2>qBittorrent " QBT_VERSION " (64-bit)</h2></b>");
|
||||
#else
|
||||
lb_name->setText("<b><h2>qBittorrent " QBT_VERSION " (32-bit)</h2></b>");
|
||||
#endif
|
||||
|
||||
// About
|
||||
QString aboutText = QString(
|
||||
|
|
Loading…
Reference in a new issue