Remove unimplemented function from WinVistaStyle

The implementation of the "scrollBarGripperBounds" function originally
lies in the Windows XP style source code, it was totally removed during
the previous refactor commit, but the function declaration was not
removed at the same time. We need to either remove the declaration or
bring back it's implementation, but since we don't use this function
at all (otherwise there will be link errors), it's better to just remove it.

Amends commit 46f98147f4e3a09b32042c0655d5de7285a795e3

Change-Id: I76444d63966f1007114d090837092ea11fda0ccb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
This commit is contained in:
Yuhang Zhao 2022-10-21 16:53:32 +08:00
parent 50120efc50
commit 0ae36affed

View File

@ -120,7 +120,6 @@ public:
static int pixelMetricFromSystemDp(QStyle::PixelMetric pm, const QStyleOption *option = nullptr, const QWidget *widget = nullptr);
static int fixedPixelMetric(QStyle::PixelMetric pm);
static bool isLineEditBaseColorSet(const QStyleOption *option, const QWidget *widget);
static QRect scrollBarGripperBounds(QStyle::State flags, const QWidget *widget, QWindowsThemeData *theme);
static HWND winId(const QWidget *widget);
static bool useVista(bool update = false);
static QBackingStore *backingStoreForWidget(const QWidget *widget);