ui: extended logging and about window to show 32/64 bit info

This commit is contained in:
mlangkabel
2017-08-22 10:58:55 +02:00
parent 0ef9b97349
commit 0b9bb91ae5
3 changed files with 21 additions and 6 deletions
+9 -2
View File
@@ -7,8 +7,9 @@
#include "qt/utility/QtDeviceScaledPixmap.h"
#include "qt/utility/utilityQt.h"
#include "utility/Version.h"
#include "utility/ResourcePaths.h"
#include "utility/utility.h"
#include "utility/Version.h"
QtAbout::QtAbout(QWidget *parent)
: QtWindow(false, parent)
@@ -71,7 +72,13 @@ void QtAbout::setupAbout()
{
QHBoxLayout* row = new QHBoxLayout();
windowLayout->addLayout(row);
QLabel* versionLabel = new QLabel(("Version " + Version::getApplicationVersion().toDisplayString()).c_str(), this);
QLabel* versionLabel = new QLabel(
(
"Version " + Version::getApplicationVersion().toDisplayString() + " - " +
std::string(utility::getApplicationArchitectureType() == APPLICATION_ARCHITECTURE_X86_32 ? "32" : "64") + " bit"
).c_str(),
this
);
row->addWidget(versionLabel);
}