From: Matthieu Gallien Date: Tue, 12 Nov 2024 13:12:07 +0000 (+0100) Subject: create a log category for OCC::Theme class X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~40^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bce61115ef6851543744e32cf921932689871b25;p=nextcloud-desktop.git create a log category for OCC::Theme class Signed-off-by: Matthieu Gallien --- 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()