Indicate bitness in stackstrace and about dialog. Closes #6172.

This commit is contained in:
sledgehammer999 2017-03-08 01:01:17 +02:00
parent c37ff51004
commit bc910798da
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
2 changed files with 10 additions and 2 deletions

View file

@ -60,7 +60,11 @@ public:
"</p></font>" "</p></font>"
"<br/><hr><br/>" "<br/><hr><br/>"
"<p align=center><font size=4>" "<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/>" "Libtorrent version: %1<br/>"
"Qt version: " QT_VERSION_STR "<br/>" "Qt version: " QT_VERSION_STR "<br/>"
"Boost version: %2<br/>" "Boost version: %2<br/>"

View file

@ -47,7 +47,11 @@ public:
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
// Title // 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 // About
QString aboutText = QString( QString aboutText = QString(