From df4be206b59c922499a62a65df9455808238b2de Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 15 Dec 2015 21:26:32 +0200 Subject: [PATCH] fix build without qcde style Signed-off-by: Ivailo Monev --- src/gui/styles/qcdestyle.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/gui/styles/qcdestyle.h b/src/gui/styles/qcdestyle.h index 7947f054a..9fa128b16 100644 --- a/src/gui/styles/qcdestyle.h +++ b/src/gui/styles/qcdestyle.h @@ -43,15 +43,14 @@ #ifndef QCDESTYLE_H #define QCDESTYLE_H +#if !defined(QT_NO_STYLE_CDE) + #include QT_BEGIN_HEADER QT_BEGIN_NAMESPACE - -#if !defined(QT_NO_STYLE_CDE) - class Q_GUI_EXPORT QCDEStyle : public QMotifStyle { Q_OBJECT @@ -72,10 +71,10 @@ protected Q_SLOTS: const QWidget *widget = 0) const; }; -#endif // QT_NO_STYLE_CDE - QT_END_NAMESPACE QT_END_HEADER +#endif // QT_NO_STYLE_CDE + #endif // QCDESTYLE_H -- 2.11.0