mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-27 08:45:18 -04:00
Only query operating system stats on Qt >= 5.4
This commit is contained in:
parent
1d79d342c0
commit
1cef08e92b
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ AboutDialog::AboutDialog(QWidget* parent)
|
|||
.arg(QString::fromLocal8Bit(qVersion()))
|
||||
.arg(Crypto::backendVersion()));
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
|
||||
debugInfo.append(tr("Operating system: %1 (version: %2)\nCPU architecture: %3\nKernel: %4 %5")
|
||||
.arg(QSysInfo::prettyProductName())
|
||||
.arg(QSysInfo::productVersion())
|
||||
|
@ -66,6 +67,7 @@ AboutDialog::AboutDialog(QWidget* parent)
|
|||
.arg(QSysInfo::kernelVersion()));
|
||||
|
||||
debugInfo.append("\n\n");
|
||||
#endif
|
||||
|
||||
QString extensions;
|
||||
#ifdef WITH_XC_HTTP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue