mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Add application info in logs for better readability.
This commit is contained in:
parent
0e77fbe20e
commit
3506452e67
1 changed files with 2 additions and 1 deletions
|
|
@ -312,7 +312,8 @@ App::App (int &argc, char *argv[]) : SingleApplication(argc, argv, true, Mode::U
|
|||
mAutoStart = false;
|
||||
mAutoStart = autoStartEnabled();
|
||||
|
||||
qInfo() << QStringLiteral("Starting " APPLICATION_NAME " (bin: " EXECUTABLE_NAME ")");
|
||||
qInfo() << QStringLiteral("Starting application " APPLICATION_NAME " (bin: " EXECUTABLE_NAME "). Version:%1 Os:%2 Qt:%3")
|
||||
.arg(applicationVersion()).arg(Utils::getOsProduct()).arg(qVersion());
|
||||
qInfo() << QStringLiteral("Use locale: %1 with language: %2").arg(mLocale.name()).arg(QLocale::languageToString(mLocale.language()));
|
||||
qInfo() << QStringLiteral("System timezone: code=%1 / country=%2 / Offset=%3 / ID=%4").arg(QTimeZone::systemTimeZone().country()).arg(Utils::getCountryName(QTimeZone::systemTimeZone().country()))
|
||||
.arg(QTimeZone::systemTimeZone().standardTimeOffset(QDateTime::currentDateTime()))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue