From 68c8cc026233e9694579ce38b8daa25008477d18 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: ćšć, 28 12æ 2023 16:12:36 +0800 Subject: [PATCH] allow qml demo choose special effect --- src/core/contexts/win32windowcontext.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/core/contexts/win32windowcontext.cpp b/src/core/contexts/win32windowcontext.cpp index 64050b5..e4707dc 100644 --- a/src/core/contexts/win32windowcontext.cpp +++ b/src/core/contexts/win32windowcontext.cpp @@ -680,7 +680,7 @@ } QVariant Win32WindowContext::windowAttribute(const QString &key) const { - if (key == QStringLiteral("title-bar-rect")) { + if (key == QStringLiteral("window-rect")) { if (!m_windowHandle) return {}; -- Gitblit v1.9.1