fix compile

This commit is contained in:
zhengchangfa 2020-12-08 15:21:18 +08:00
parent ca2a3be39d
commit 7d844ab95f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void FramelessWindowsManager::addWindow(const QWindow *window)
#ifdef Q_OS_WINDOWS #ifdef Q_OS_WINDOWS
WinNativeEventFilter::addFramelessWindow(const_cast<QWindow *>(window)); WinNativeEventFilter::addFramelessWindow(const_cast<QWindow *>(window));
#else #else
framelessHelper()->removeWindowFrame(window); framelessHelper()->removeWindowFrame(const_cast<QWindow *>(window));
#endif #endif
} }