summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgetresizehandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qwidgetresizehandler_p.h')
-rw-r--r--src/widgets/widgets/qwidgetresizehandler_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/widgets/qwidgetresizehandler_p.h b/src/widgets/widgets/qwidgetresizehandler_p.h
index 7bb7d6cd94..669cb6f256 100644
--- a/src/widgets/widgets/qwidgetresizehandler_p.h
+++ b/src/widgets/widgets/qwidgetresizehandler_p.h
@@ -55,7 +55,7 @@
#include "QtCore/qobject.h"
#include "QtCore/qpoint.h"
-#ifndef QT_NO_RESIZEHANDLER
+QT_REQUIRE_CONFIG(resizehandler);
QT_BEGIN_NAMESPACE
@@ -135,6 +135,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_RESIZEHANDLER
-
#endif // QWIDGETRESIZEHANDLER_P_H