Commit 823eb4a5 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Disable debug log messages for KWIN_UTILS by default

According to data/org_kde_kwin.categories, only warning messages or more
severe messages should be printed by default.


(cherry picked from commit 7a997bc4)
parent 2c3e9521
......@@ -29,7 +29,7 @@ const static QString s_dbusRestrictedInterfaceName = QStringLiteral("X-KDE-DBUS-
static QStringList fetchProcessServiceField(const QString &executablePath, const QString &fieldName)
{
// needed to be able to use the logging category in a header static function
static QLoggingCategory KWIN_UTILS ("KWIN_UTILS");
static QLoggingCategory KWIN_UTILS ("KWIN_UTILS", QtWarningMsg);
const auto servicesFound = KApplicationTrader::query([&executablePath] (const KService::Ptr &service) {
if (service->exec().isEmpty() || service->exec() != executablePath)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment