From 1900ef3c9805d7fe15e0634cef9b5ff2a5dc7838 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周三, 20 12月 2023 20:02:05 +0800 Subject: [PATCH] minor tweaks --- src/core/contexts/abstractwindowcontext.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/abstractwindowcontext.cpp b/src/core/contexts/abstractwindowcontext.cpp index 1669cd4..535ffc2 100644 --- a/src/core/contexts/abstractwindowcontext.cpp +++ b/src/core/contexts/abstractwindowcontext.cpp @@ -28,12 +28,12 @@ auto newVar = var; auto oldVar = it.value(); - void *a[] = { + void *args[] = { &const_cast<QString &>(key), &newVar, &oldVar, }; - virtual_hook(WindowAttributeChangedHook, a); + virtual_hook(WindowAttributeChangedHook, args); } bool AbstractWindowContext::setHitTestVisible(const QObject *obj, bool visible) { -- Gitblit v1.9.1