diff options
author | Yuhang Zhao <2546789017@qq.com> | 2022-10-21 16:53:32 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2022-10-24 10:05:46 +0800 |
commit | 0ae36affedd553640a282086c1703de48b1b449e (patch) | |
tree | 7b1890336c53d981e849f86d85c1ce33e5692762 /src/plugins | |
parent | 50120efc506fa918ac4c9e997a108a7fa6e44c55 (diff) |
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>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h b/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h index 7705d3200e..2c38ff4b3b 100644 --- a/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h +++ b/src/plugins/styles/windowsvista/qwindowsvistastyle_p_p.h @@ -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); |