mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-27 15:49:43 +01:00
Log system type on startup
This commit is contained in:
parent
87e543b5ef
commit
cf33df1339
@ -50,6 +50,7 @@
|
||||
#include <QObject>
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QSysInfo>
|
||||
#include <QStandardPaths>
|
||||
#include <QLibraryInfo>
|
||||
#include <QFileDevice>
|
||||
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user