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
2 changed files with 10 additions and 2 deletions

View File

@@ -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(