From cf33df13398d0c438021aa2c29b7bf794c62288e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 26 Jul 2019 19:24:16 +0200 Subject: [PATCH] Log system type on startup --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 1bef0bd6c..590f4b793 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -156,6 +157,7 @@ int main(int argc, char* argv[]) { // Output the version, so when people attach log output to bug reports they don't have to tell us which version they're using. qLog(Info) << "Strawberry" << STRAWBERRY_VERSION_DISPLAY; + qLog(Info) << QString("%1 %2 - (%3 %4) [%5]").arg(QSysInfo::prettyProductName()).arg(QSysInfo::productVersion()).arg(QSysInfo::kernelType()).arg(QSysInfo::kernelVersion()).arg(QSysInfo::currentCpuArchitecture()); // Seed the random number generators. time_t t = time(nullptr);