diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-02-16 11:56:16 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-08-23 10:40:27 +0300 |
commit | baa571018eb62336c15ff2549f52409813252a3f (patch) | |
tree | 80bd2592810a09daea4cb71bfdb70a185546d09f /src/gui/application.cpp | |
parent | 8ca5035c429ed99f322dd9679dd0f456c58523d7 (diff) |
Log invocation, useful for debugging startup issues
Diffstat (limited to 'src/gui/application.cpp')
-rw-r--r-- | src/gui/application.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 511da7558..97ecedba9 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -524,7 +524,12 @@ void Application::setupLogging() logger->enterNextLogFile(); - qCInfo(lcApplication) << QString::fromLatin1("################## %1 locale:[%2] ui_lang:[%3] version:[%4] os:[%5]").arg(_theme->appName()).arg(QLocale::system().name()).arg(property("ui_lang").toString()).arg(_theme->version()).arg(Utility::platformName()); + qCInfo(lcApplication) << "##################" << _theme->appName() + << "locale:" << QLocale::system().name() + << "ui_lang:" << property("ui_lang") + << "version:" << _theme->version() + << "os:" << Utility::platformName(); + qCInfo(lcApplication) << "Arguments:" << qApp->arguments(); } void Application::slotUseMonoIconsChanged(bool) |