summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qlayoutitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qlayoutitem.h')
-rw-r--r--src/widgets/kernel/qlayoutitem.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widgets/kernel/qlayoutitem.h b/src/widgets/kernel/qlayoutitem.h
index b19a7c789f..808cc9ff5d 100644
--- a/src/widgets/kernel/qlayoutitem.h
+++ b/src/widgets/kernel/qlayoutitem.h
@@ -47,12 +47,10 @@
#include <limits.h>
-QT_BEGIN_HEADER
-
QT_BEGIN_NAMESPACE
-static const int QLAYOUTSIZE_MAX = INT_MAX/256/16;
+static const Q_DECL_UNUSED int QLAYOUTSIZE_MAX = INT_MAX/256/16;
class QLayout;
class QLayoutItem;
@@ -180,6 +178,4 @@ private:
QT_END_NAMESPACE
-QT_END_HEADER
-
#endif // QLAYOUTITEM_H