fix qt5 builds

This commit is contained in:
Yuhang Zhao 2023-07-29 16:29:05 +08:00
parent 1b4b5b620f
commit ad90846797
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ bool FramelessHelperWin::nativeEventFilter(const QByteArray &eventType, void *me
const LPARAM lParam = msg->lParam;
#if (QT_VERSION < QT_VERSION_CHECK(6, 5, 1))
const auto updateRestoreGeometry = [windowId, &muData](const bool ignoreWindowState) -> void {
const auto updateRestoreGeometry = [windowId, &data, &muData](const bool ignoreWindowState) -> void {
if (!ignoreWindowState && !Utils::isWindowNoState(windowId)) {
return;
}