From cbed43982c9701e55453c1221fa27112a5fc02b2 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Fri, 19 Apr 2024 20:55:30 +0200 Subject: [PATCH] QStylePrivate: remove unused member layoutSpacingIndex The member layoutSpacingIndex is not used anywhere so it can be removed. Change-Id: I0d8bc3b0ce8cf7ab26c3fd11977cfc9bffc42106 Reviewed-by: Axel Spoerl --- src/widgets/styles/qstyle_p.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/widgets/styles/qstyle_p.h b/src/widgets/styles/qstyle_p.h index c4daa09c11e..deae9f96593 100644 --- a/src/widgets/styles/qstyle_p.h +++ b/src/widgets/styles/qstyle_p.h @@ -29,12 +29,8 @@ class QStylePrivate: public QObjectPrivate { Q_DECLARE_PUBLIC(QStyle) public: - inline QStylePrivate() - : layoutSpacingIndex(-1), proxyStyle(nullptr) {} - static bool useFullScreenForPopup(); - mutable int layoutSpacingIndex; QStyle *proxyStyle; QString name; };