From ef81a0e18b0bccc6273c336d394dd2b1e9204f55 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 12 Nov 2024 14:12:07 +0100 Subject: [PATCH] create a log category for OCC::Theme class Signed-off-by: Matthieu Gallien --- src/libsync/theme.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index ea4bd466cb125..05ad13fef582a 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #ifdef Q_OS_WIN #include @@ -76,6 +77,8 @@ bool isWindows11OrGreater() { namespace OCC { +Q_LOGGING_CATEGORY(lcTheme, "nextcloud.gui.theme", QtInfoMsg) + Theme *Theme::_instance = nullptr; Theme *Theme::instance()