diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-02-16 11:56:16 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-02-16 13:12:12 +0300 |
commit | 2a39a82a1b74416a9cabebf876fe7875b533d3cf (patch) | |
tree | 79f143967a0aa9ce42e41e4b86133bdd5182eebc /src | |
parent | 8a4c239bca112335ea83a5118efa96f37867cdcc (diff) |
Log invocation, useful for debugging startup issues
Diffstat (limited to 'src')
-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 fdee7ffd8..c349b2d7b 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -522,7 +522,12 @@ void Application::setupLogging() // Possibly configure logging from config file LogBrowser::setupLoggingFromConfig(); - 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) |