From d5cc7b515e8897c94815ebb2d8fe6da675846149 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周三, 06 12月 2023 17:00:21 +0800 Subject: [PATCH] format --- src/core/qwkcoreglobal.h | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/src/core/qwkcoreglobal.h b/src/core/qwkcoreglobal.h index 517d91c..94982e6 100644 --- a/src/core/qwkcoreglobal.h +++ b/src/core/qwkcoreglobal.h @@ -1,7 +1,7 @@ #ifndef QWKCOREGLOBAL_H #define QWKCOREGLOBAL_H -#include <QtCore/QLoggingCategory> +#include <QtCore/QtGlobal> #ifndef QWK_CORE_EXPORT # ifdef QWK_CORE_STATIC @@ -13,16 +13,6 @@ # define QWK_CORE_EXPORT Q_DECL_IMPORT # endif # endif -#endif - -QWK_CORE_EXPORT Q_DECLARE_LOGGING_CATEGORY(qWindowKitLog) - -#define QWK_INFO qCInfo(qWindowKitLog) -#define QWK_DEBUG qCDebug(qWindowKitLog) -#define QWK_WARNING qCWarning(qWindowKitLog) -#define QWK_CRITICAL qCCritical(qWindowKitLog) -#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0) -# define QWK_FATAL qCFatal(qWindowKitLog) #endif #endif // QWKCOREGLOBAL_H -- Gitblit v1.9.1