Browse Source

Log additional information when we start PMP

Fixes #61
Tobias Hieta 9 years ago
parent
commit
3917405e4f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main.cpp

+ 3 - 1
src/main.cpp

@@ -192,7 +192,9 @@ int main(int argc, char *argv[])
 #endif
 
     initLogger();
-    QLOG_INFO() << "Starting Plex Media Player version:" << Version::GetVersionString() << "build date:" << Version::GetBuildDate();
+    QLOG_INFO() << "Starting Plex Media Player version:" << qPrintable(Version::GetVersionString()) << "build date:" << qPrintable(Version::GetBuildDate());
+    QLOG_INFO() << qPrintable(QString("  Running on: %1 [%2] arch %3").arg(QSysInfo::prettyProductName()).arg(QSysInfo::kernelVersion()).arg(QSysInfo::currentCpuArchitecture()));
+    QLOG_INFO() << "  Qt Version:" << QT_VERSION_STR << qPrintable(QString("[%1]").arg(QSysInfo::buildAbi()));
 
     // Quit app and apply update if we find one.
     if (UpdateManager::CheckForUpdates())