Browse Source

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

adaptive-webui-19844
sledgehammer999 8 years ago
parent
commit
bc910798da
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 6
      src/app/stacktrace_win_dlg.h
  2. 6
      src/gui/about_imp.h

6
src/app/stacktrace_win_dlg.h

@ -60,7 +60,11 @@ public: @@ -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/>"

6
src/gui/about_imp.h

@ -47,7 +47,11 @@ public: @@ -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…
Cancel
Save