diff options
author | Kai Uwe Broulik <kai_uwe.broulik@mbition.io> | 2022-02-11 13:41:37 +0100 |
---|---|---|
committer | Kai Uwe Broulik <kai_uwe.broulik@mbition.io> | 2022-02-14 16:16:10 +0100 |
commit | 1a8fc4c9064f9e0a44ba37c1667e04ce0df655a8 (patch) | |
tree | db934b90dfacaa579c6a9f0d73857dbcdb0073e5 /src | |
parent | 7cbdd55960b36b967f2b62c6bacdcde8807c88fd (diff) | |
download | kconfig-1a8fc4c9064f9e0a44ba37c1667e04ce0df655a8.tar.gz kconfig-1a8fc4c9064f9e0a44ba37c1667e04ce0df655a8.tar.bz2 |
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 <eike.hein@mbition.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kconfiggui.h | 7 |
1 files changed, 4 insertions, 3 deletions
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. |