From 6b2d31247dc2c2804e571b31a71c8a423c1db9d4 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 26 12月 2023 01:44:03 +0800 Subject: [PATCH] Totally fix top border issue on Win10 for QtWidgets --- examples/shared/widgetframe/windowbar.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/shared/widgetframe/windowbar.h b/examples/shared/widgetframe/windowbar.h index e8ea69b..2a8fe01 100644 --- a/examples/shared/widgetframe/windowbar.h +++ b/examples/shared/widgetframe/windowbar.h @@ -62,7 +62,7 @@ protected: WindowBar(WindowBarPrivate &d, QWidget *parent = nullptr); - QScopedPointer<WindowBarPrivate> d_ptr; + const std::unique_ptr<WindowBarPrivate> d_ptr; }; } -- Gitblit v1.9.1