mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Indicate bitness in stackstrace and about dialog. Closes #6172.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user