From 7a54badb4a5782c551deb2919f3c489fdb4fbc02 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 03 12月 2023 17:17:40 +0800
Subject: [PATCH] Add snap layout handling

---
 src/core/qwkcoreglobal_p.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/core/qwkcoreglobal_p.h b/src/core/qwkcoreglobal_p.h
index 5f76437..bde882b 100644
--- a/src/core/qwkcoreglobal_p.h
+++ b/src/core/qwkcoreglobal_p.h
@@ -24,13 +24,4 @@
 #  define QWK_FATAL qCFatal(qWindowKitLog)
 #endif
 
-// MOC can't handle C++ attributes before 5.15.
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
-#  define Q_NODISCARD    [[nodiscard]]
-#  define Q_MAYBE_UNUSED [[maybe_unused]]
-#else
-#  define Q_NODISCARD
-#  define Q_MAYBE_UNUSED
-#endif
-
 #endif // QWKCOREGLOBAL_P_H

--
Gitblit v1.9.1