From 1041794e41b8c92c820275e866a6e9b12f4a542e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 31 Mar 2023 20:24:26 +0300 Subject: [PATCH] Adjust some comments in Window Neither Window::frameMargins() nor Window::wantsShadowToBeRendered() are virtual methods, so remove "Default implementation ..." comments. --- src/window.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/window.h b/src/window.h index 60e26ac2cb..08cb570b9c 100644 --- a/src/window.h +++ b/src/window.h @@ -584,8 +584,6 @@ public: * * Note that the returned margins object will have all margins set to 0 if * the window doesn't have a server-side decoration. - * - * Default implementation returns a margins object with all margins set to 0. */ QMargins frameMargins() const; @@ -781,8 +779,7 @@ public: */ void updateShadow(); /** - * Whether the Window currently wants the shadow to be rendered. Default - * implementation always returns @c true. + * Whether the Window currently wants the shadow to be rendered. */ bool wantsShadowToBeRendered() const;