forked from github_mirror/framelesshelper
fix compile
This commit is contained in:
parent
ca2a3be39d
commit
7d844ab95f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue