mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
* Remove the top blank in frameless window mode (#1887)
This commit is contained in:
parent
e4355eeb48
commit
2436adc257
@ -487,7 +487,7 @@ void MainWindow::setupToolBar()
|
||||
| Qt::WindowCloseButtonHint | Qt::WindowFullscreenButtonHint;
|
||||
|
||||
auto winFlags = windowFlags();
|
||||
winFlags |= Qt::CustomizeWindowHint;
|
||||
winFlags |= Qt::CustomizeWindowHint | Qt::FramelessWindowHint;
|
||||
winFlags &= ~framelessFlags;
|
||||
setWindowFlags(winFlags);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user