From 728c44c81c23401056484b7ab39a33821aa7e2f5 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Fri, 7 May 2021 03:43:32 +0200 Subject: Order macro for attribute for symbol export before that for deprecated The symbol export/visibility attribute is not standardized so far and needs to be set by language extension attribute declaration at least with clang & MSVC, who both support that when it appears before the standard attribute declaration. NO_CHANGELOG --- src/core/kauthorized.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/kauthorized.h') diff --git a/src/core/kauthorized.h b/src/core/kauthorized.h index ac3cfa7e..a61e0927 100644 --- a/src/core/kauthorized.h +++ b/src/core/kauthorized.h @@ -110,8 +110,9 @@ KCONFIGCORE_EXPORT bool authorizeAction(const QString &action); * @see authorize() * @deprecated since 5.24, use authorizeAction() instead. */ +KCONFIGCORE_EXPORT KCONFIGCORE_DEPRECATED_VERSION(5, 24, "Use KAuthorized::authorizeAction(const QString&)") -KCONFIGCORE_EXPORT bool authorizeKAction(const QString &action); +bool authorizeKAction(const QString &action); #endif /** -- cgit v1.2.1