Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
fix qt5 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Jul 29, 2023
1 parent 1b4b5b6 commit ad90846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/framelesshelper_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ad90846

Please sign in to comment.