diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-05-31 21:28:32 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-07-02 10:38:46 +0000 |
commit | 330f0245898dd2c163a3a8b8dfb7b672cf8def3b (patch) | |
tree | 94194e7cc330c13a22651e93942afca8dc092d84 /src/widgets/styles/qcommonstyle.cpp | |
parent | 3ab0ba7bf2b27f73b38a6f60181426c05f1d3af0 (diff) |
Convert features.wizard to QT_[REQUIRE_]CONFIG
Change-Id: I43e3d9f55a21ae0f602fc43c570321d0152cd8b6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/styles/qcommonstyle.cpp')
-rw-r--r-- | src/widgets/styles/qcommonstyle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/styles/qcommonstyle.cpp b/src/widgets/styles/qcommonstyle.cpp index afcb50c866..ad3ba88756 100644 --- a/src/widgets/styles/qcommonstyle.cpp +++ b/src/widgets/styles/qcommonstyle.cpp @@ -74,7 +74,9 @@ #include <private/qmath_p.h> #include <qdebug.h> #include <qtextformat.h> +#if QT_CONFIG(wizard) #include <qwizard.h> +#endif #include <qfileinfo.h> #include <qdir.h> #include <qsettings.h> @@ -5187,7 +5189,7 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget vret->variant = fmt; } break; -#ifndef QT_NO_WIZARD +#if QT_CONFIG(wizard) case SH_WizardStyle: ret = QWizard::ClassicStyle; break; |