From 1a8fc4c9064f9e0a44ba37c1667e04ce0df655a8 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Fri, 11 Feb 2022 13:41:37 +0100 Subject: Support build without Qt session manager Rather than abort the build, don't create a session config and print a warning. Signed-off-by: Eike Hein --- src/gui/kconfiggui.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gui/kconfiggui.h b/src/gui/kconfiggui.h index 33082d83..b030c977 100644 --- a/src/gui/kconfiggui.h +++ b/src/gui/kconfiggui.h @@ -22,9 +22,10 @@ namespace KConfigGui /** * Returns the current application session config object. * - * @note If Qt is built without session manager support, - * this by default will return nullptr, unless a custom config - * has been set via @c setSessionConfig. + * @note If Qt is built without session manager support, i.e. + * QT_NO_SESSIONMANAGER is defined, this by default will return + * nullptr, unless a custom config has been set via + * @c setSessionConfig. * * @return A pointer to the application's instance specific * KConfig object. -- cgit v1.2.1