diff --git a/src/app/stacktrace_win_dlg.h b/src/app/stacktrace_win_dlg.h index 62d8da7fc..e9e7ff307 100644 --- a/src/app/stacktrace_win_dlg.h +++ b/src/app/stacktrace_win_dlg.h @@ -60,7 +60,11 @@ public: "
" ""
- "qBittorrent version: " QBT_VERSION "
"
+#if defined(__x86_64__) || defined(_M_X64)
+ "qBittorrent version: " QBT_VERSION " (64-bit)
"
+#else
+ "qBittorrent version: " QBT_VERSION " (32-bit)
"
+#endif
"Libtorrent version: %1
"
"Qt version: " QT_VERSION_STR "
"
"Boost version: %2
"
diff --git a/src/gui/about_imp.h b/src/gui/about_imp.h
index 310aa72bb..2ff663edc 100644
--- a/src/gui/about_imp.h
+++ b/src/gui/about_imp.h
@@ -47,7 +47,11 @@ public:
setAttribute(Qt::WA_DeleteOnClose);
// Title
- lb_name->setText("qBittorrent " QBT_VERSION "
");
+#if defined(__x86_64__) || defined(_M_X64)
+ lb_name->setText("qBittorrent " QBT_VERSION " (64-bit)
");
+#else
+ lb_name->setText("qBittorrent " QBT_VERSION " (32-bit)
");
+#endif
// About
QString aboutText = QString(