forked from github_mirror/framelesshelper
macos: fix build
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
d86e9144a2
commit
b6e86f90e6
|
@ -78,8 +78,7 @@ void FramelessHelperQt::addWindow(const UserSettings &settings, const SystemPara
|
|||
#endif
|
||||
window->installEventFilter(data.eventFilter);
|
||||
#ifdef Q_OS_MACOS
|
||||
Utils::setWindowHook(windowId);
|
||||
Utils::removeWindowFrame(windowId);
|
||||
Utils::setSystemTitleBarVisible(windowId, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue