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.
icc-effect-5.26.4
Vlad Zahorodnii 2021-01-26 10:50:31 +02:00
parent 5eaf46c248
commit 7a997bc4ec
1 changed files with 1 additions and 1 deletions

View File

@ -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)