From 62804f6becb9f431cb2023b3b92fe0d02fb5edee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Wed, 24 Oct 2018 18:42:05 +0200 Subject: [PATCH] Add debug category for bookmarks runner Summary: Dependency for followup patches, no functional change Test Plan: make Reviewers: #frameworks, davidedmundson Reviewed By: davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D16405 --- plasma-workspace.categories | 1 + runners/bookmarks/CMakeLists.txt | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/plasma-workspace.categories b/plasma-workspace.categories index 5d31bdb68..10d27751e 100644 --- a/plasma-workspace.categories +++ b/plasma-workspace.categories @@ -1,3 +1,4 @@ org.kde.kf5.ksmserver ksmserver (ksmserver) org.kde.plasma.runner.services DEFAULT_SEVERITY [WARNING] org.kde.plasma.runner.appstream DEFAULT_SEVERITY [WARNING] +org.kde.plasma.runner.bookmarks DEFAULT_SEVERITY [WARNING] diff --git a/runners/bookmarks/CMakeLists.txt b/runners/bookmarks/CMakeLists.txt index ccb5d1e6a..eb600a8e0 100644 --- a/runners/bookmarks/CMakeLists.txt +++ b/runners/bookmarks/CMakeLists.txt @@ -21,6 +21,13 @@ set(krunner_bookmarks_common_SRCS fetchsqlite.cpp ) +ecm_qt_declare_logging_category(krunner_bookmarks_common_SRCS + HEADER bookmarks_debug.h + IDENTIFIER RUNNER_BOOKMARKS + CATEGORY_NAME org.kde.plasma.runner.bookmarks + DEFAULT_SEVERITY Warning +) + set(krunner_bookmarksrunner_SRCS ${krunner_bookmarks_common_SRCS} bookmarksrunner.cpp