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/gui/kconfiggui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/kconfiggui.h') diff --git a/src/gui/kconfiggui.h b/src/gui/kconfiggui.h index c32e108f..8f4b739a 100644 --- a/src/gui/kconfiggui.h +++ b/src/gui/kconfiggui.h @@ -53,8 +53,9 @@ KCONFIGGUI_EXPORT bool hasSessionConfig(); * @return the application session name * @deprecated since 5.11, use sessionConfig()->name() */ +KCONFIGGUI_EXPORT KCONFIGGUI_DEPRECATED_VERSION(5, 11, "Use KConfigGui::sessionConfig()->name()") -KCONFIGGUI_EXPORT QString sessionConfigName(); +QString sessionConfigName(); #endif } -- cgit v1.2.1