From bce61115ef6851543744e32cf921932689871b25 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 7eadcac35..9a322f338 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()